Hello, thanks for the tips and effort ! Greatly appriciated!
I tried to delete the dll files that I downloaded, only to see that one of them is actually working as intended. avast is now up and running again.
I downloaded the other recommended program and ran it without finding anything.
I did the scan and said that some files were corrupted which has led me to believe that it's infact a hardware problem. I ran "chdks" which too hours. without result and I*m now running windows memory diagnostic tool.
I tried to do a ipconfig but the it yelled for a dnsapi.dll again.. So I deleted the one supporting avast.
And I just recieved the info that the computer had been doing some chdks at startup earlier this month, giving me more reason to believe in hardware failure. Though I wonder why I can't connect to the net...
The dnsapi.dll thingie is spooky.
If the diagnostic tool fails to give me anything valuable I'll go for a clean disk an re install of win 7 + components.
Thanks for your help