2008-07-15, 18:28
Anyone else have trouble compiling with VS2003? (Yes, I still use it. I've installed VC2008EE but I just don't like it. But I am going to test with it shortly.) I'm assuming I'm missing a library.
** edit **
As I figured would be the case, it compiles with VC2008EE.
Quote:WIN32Util.obj : error LNK2019: unresolved external symbol "unsigned char __stdcall SetSuspendState(unsigned char,unsigned char,unsigned char)" (?SetSuspendState@@YGEEEE@Z) referenced in function "public: static bool __cdecl CWIN32Util:owerManagement(enum PowerState)" (?PowerManagement@CWIN32Util@@SA_NW4PowerState@@@Z)
** edit **
As I figured would be the case, it compiles with VC2008EE.