Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - DWORD32, DWORD64,
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? 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? 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...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? 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...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? 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? Jul 20 2006
|