From: jedni22 <je...@ya...> - 2008-01-20 15:26:36
|
Greg Chicares-2 wrote: > > > > Perhaps you need to include <windows.h> first. > > > Yeah, i was including <Windows.h> not <windows.h>. The previous errors have gone:) But now it says : projects/MyApp/CDUtility.cpp:86: error: `SecureZeroMemory' undeclared (first use this function) projects/MyApp/CDUtility.cpp:201: error: `SHTDN_REASON_MAJOR_OTHER' undeclared (first use this function) projects/MyApp/CDUtility.cpp:201: error: `SHTDN_REASON_MINOR_OTHER' undeclared (first use this function) projects/MyApp/CDUtility.cpp:201: error: `SHTDN_REASON_FLAG_PLANNED' undeclared (first use this function) projects/MyApp/CDUtility.cpp:208: error: `EWX_FORCEIFHUNG' undeclared (first use this function) I have searched MSDN, they say SecureZeroMemory is included in Windows.h! Why i am getting the "undeclared" error? As for "SHTDN_REASON_MAJOR_OTHER" they say it is included in Reason.h ! What should i do now? -- View this message in context: http://www.nabble.com/%60LONG%27-does-not-name-a-type-tp14981476p14982835.html Sent from the MinGW - User mailing list archive at Nabble.com. |