Temp profile when I logged in. After searching, the answer was to backup everything, delete the temp profile under the following
control panel -> Advanced System Properties -> Advanced -> User Profiles -> Settings
and delete the temp profile.
Reboot.
When this happened, all the links in Visual Studio and some stupid programs like grapheditplus requires you to register again.
Using #include iphlpapi.h
was a pain cos you have to link the include and lib path all over again.
then add
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #endif
#include windows.h
So that it will use winsock2.h instead of winsock.h
No comments:
Post a Comment