Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
June 29, 2006 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 |
June 29, 2006 Re: DWORD32, DWORD64, | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yochanan | 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?
|
July 04, 2006 Re: DWORD32, DWORD64, | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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? |
July 04, 2006 Re: DWORD32, DWORD64, | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yochanan | 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?
>> Where are DWORD32, etc., defined on your system?
>
>
Just copy the definitions to your project files, and it should work.
|
July 20, 2006 Re: DWORD32, DWORD64, | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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? >>> Where are DWORD32, etc., defined on your system? >> >> > > Just copy the definitions to your project files, and it should work. |
July 20, 2006 Re: DWORD32, DWORD64, | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yochanan | "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 |
Copyright © 1999-2021 by the D Language Foundation