Posted October 28, 2007 At end of compiling the original Apex 1.0.0 Beta 4 Source i'm become this error : Ressourcen werden kompiliert... Deleting old pdb file... Y:\ApexDC++ 1.0.0 Beta 4\compiled\ApexDC.pdb konnte nicht gefunden werden Verknüpfen... WinUtil.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""unsigned char __stdcall SetSuspendState(unsigned char,unsigned char,unsigned char)" (?SetSuspendState@@YGEEEE@Z)". Y:\ApexDC++ 1.0.0 Beta 4\compiled/ApexDC.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise. I've no idea to correct this error. Anyone a solution ? Need help, please !!! Share this post Link to post Share on other sites
Posted October 30, 2007 When i command 2 lines i can compiling without errors. But can't be a solution. "winutil.cpp" line 1961 ff. // Shutdown switch(action) { case 0: { action = EWX_POWEROFF; break; } case 1: { action = EWX_LOGOFF; break; } case 2: { action = EWX_REBOOT; break; } // case 3: { SetSuspendState(false, false, false); return true; } // case 4: { SetSuspendState(true, false, false); return true; } case 5: { if(LOBYTE(LOWORD(GetVersion())) >= 5) { typedef bool (CALLBACK* LPLockWorkStation)(void); LPLockWorkStation _d_LockWorkStation = (LPLockWorkStation)GetProcAddress(LoadLibrary(_T("user32")), "LockWorkStation"); _d_LockWorkStation(); } return true; } } Thanks for no help ! :) Share this post Link to post Share on other sites
Posted November 19, 2007 There is a topic at the Support section about compiling. Anyway, if we can't help, should we write it explicitly each time? It is just normal to remain silent. Share this post Link to post Share on other sites
Posted November 21, 2007 Also don't be so demanding :P Share this post Link to post Share on other sites