On Thu, 15 Jan 2004 23:21:26 EST, "Jevin" <jev### [at] NOSAPMfutagollccom>
wrote:
> It compiles fine with VC6 and VC6 using icc. But when I try to use just> nmake and the icc makefile I get that error. Any ideas?
My htmlhelp.h contains line:
#ifndef _WIN64
#define DWORD_PTR DWORD
#endif
Do you have _WIN64 defined?
ABX
ABX wrote:
>On Thu, 15 Jan 2004 23:21:26 EST, "Jevin" <jev### [at] NOSAPMfutagollccom>>wrote:>> It compiles fine with VC6 and VC6 using icc. But when I try to use just>> nmake and the icc makefile I get that error. Any ideas?>>My htmlhelp.h contains line:>>#ifndef _WIN64>#define DWORD_PTR DWORD>#endif>>Do you have _WIN64 defined?>>ABX>
No, and I shouldn't because im win32. If I just add a #define DWORD_PTR
DWORD without any if statements (and force it to be defined) it compiles
without error. Is htmlhelp.h incorrect?
Jevin wrote:
> >Do you have _WIN64 defined?> >> >ABX>> No, and I shouldn't because im win32.
You don't have to be on 64 bits platform to compile for 64 bit platform. The
_WIN64 comes from your SDK which can be configured for many targets (W2K,
XP, 32, 64 bits)
> If I just add a #define DWORD_PTR> DWORD without any if statements (and force it to be defined) it compiles> without error. Is htmlhelp.h incorrect?
I would rather said SDK is wrongly configured.
ABX