c++ - DWORD32, DWORD64,
- Yochanan (8/8) Jun 29 2006 Hi,
- Walter Bright (2/9) Jun 29 2006 Where are DWORD32, etc., defined on your system?
- Yochanan (5/14) Jul 03 2006 The DWORD32, DWORD64, etc.'s are defined in BaseTsd.h in the "include"
- Walter Bright (2/19) Jul 03 2006 Just copy the definitions to your project files, and it should work.
- Yochanan (13/32) Jul 20 2006 thanks Walter,
- Pavel Vozenilek (7/15) Jul 20 2006 Old version of SDK. Either add manually
Hi, I was trying to compile the xcrashreport files (from codeproject.com) in DMC -- and am getting compiler errors from MS's dbghelp.h --- DMC doesn't seem to recognize DWORD32, DWORD64, PIMAGE_NT_HEADERS32, and PIMAGE_NT_HEADERS64 keywords -- at least so far. Is there a work around? Thanks. Yochanan
Jun 29 2006
Yochanan wrote:I was trying to compile the xcrashreport files (from codeproject.com) in DMC -- and am getting compiler errors from MS's dbghelp.h --- DMC doesn't seem to recognize DWORD32, DWORD64, PIMAGE_NT_HEADERS32, and PIMAGE_NT_HEADERS64 keywords -- at least so far. Is there a work around?Where are DWORD32, etc., defined on your system?
Jun 29 2006
The DWORD32, DWORD64, etc.'s are defined in BaseTsd.h in the "include" subdirectory of the "Microsoft SDK" folder. The PIMAGE_...'s seem all to be in WinNT.h in the same sub-directory. "Walter Bright" <newshound digitalmars.com> ??? ??????:e81m9h$18l9$1 digitaldaemon.com...Yochanan wrote:I was trying to compile the xcrashreport files (from codeproject.com) in DMC -- and am getting compiler errors from MS's dbghelp.h --- DMC doesn't seem to recognize DWORD32, DWORD64, PIMAGE_NT_HEADERS32, and PIMAGE_NT_HEADERS64 keywords -- at least so far. Is there a work around?Where are DWORD32, etc., defined on your system?
Jul 03 2006
Yochanan wrote:The DWORD32, DWORD64, etc.'s are defined in BaseTsd.h in the "include" subdirectory of the "Microsoft SDK" folder. The PIMAGE_...'s seem all to be in WinNT.h in the same sub-directory. "Walter Bright" <newshound digitalmars.com> ??? ??????:e81m9h$18l9$1 digitaldaemon.com...Just copy the definitions to your project files, and it should work.Yochanan wrote:I was trying to compile the xcrashreport files (from codeproject.com) in DMC -- and am getting compiler errors from MS's dbghelp.h --- DMC doesn't seem to recognize DWORD32, DWORD64, PIMAGE_NT_HEADERS32, and PIMAGE_NT_HEADERS64 keywords -- at least so far. Is there a work around?Where are DWORD32, etc., defined on your system?
Jul 03 2006
thanks Walter, This is working -- I have 2 new small questions. The compile is getting stuck on IsDebuggerPresent() (function not recognized), which the DM help says is supported as a Win Nt function. I looked for a header file with its declaration in \DM\include without success. How do I include it? This one is probably obvious, however, let me ask-- will I need to convert MS's dbghelp.lib from COFF to OMF format before linking it in to the project? If so, can you give me a link as to where to look for directions with this? Thanks. "Walter Bright" <newshound digitalmars.com> ??? ??????:e8d1t4$u1u$1 digitaldaemon.com...Yochanan wrote:The DWORD32, DWORD64, etc.'s are defined in BaseTsd.h in the "include" subdirectory of the "Microsoft SDK" folder. The PIMAGE_...'s seem all to be in WinNT.h in the same sub-directory. "Walter Bright" <newshound digitalmars.com> ??? ??????:e81m9h$18l9$1 digitaldaemon.com...Just copy the definitions to your project files, and it should work.Yochanan wrote:I was trying to compile the xcrashreport files (from codeproject.com) in DMC -- and am getting compiler errors from MS's dbghelp.h --- DMC doesn't seem to recognize DWORD32, DWORD64, PIMAGE_NT_HEADERS32, and PIMAGE_NT_HEADERS64 keywords -- at least so far. Is there a work around?Where are DWORD32, etc., defined on your system?
Jul 20 2006
"Yochanan" wrote:The compile is getting stuck on IsDebuggerPresent() (function not recognized), which the DM help says is supported as a Win Nt function. I looked for a header file with its declaration in \DM\include without success. How do I include it?Old version of SDK. Either add manually BOOL WINAPI IsDebuggerPresent(void); or download newer Win32 SDK.This one is probably obvious, however, let me ask-- will I need to convert MS's dbghelp.lib from COFF to OMF format before linking it in to the project? If so, can you give me a link as to where to look for directions with this?http://www.digitalmars.com/ctg/coff2omf.html (available on CD) /Pavel
Jul 20 2006