Page 1 of 1

Compilation error : XP with GapiDraw204 using EVC 3.0

PostPosted: Aug 10, 2003 @ 12:10pm
by joe
hello,

I am trying to build an XP version of my GapiDraw204 game.

But I get this during compilation:

Can somebody shed some light on this for me? All I know is that everything worked with GapiDraw104 with the same code base and development setup.


Thank you in advance.


c:\program files\microsoft visual studio\vc98\include\winnt.h(3143) : error C2146: syntax error : missing ';' before identifier 'ContextRecord'
c:\program files\microsoft visual studio\vc98\include\winnt.h(3143) : error C2501: 'PCONTEXT' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\winnt.h(3143) : error C2501: 'ContextRecord' : missing storage-class or type specifiers
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.


thanks
joe

PostPosted: Aug 10, 2003 @ 5:59pm
by CpuWhiz105

fixed - but one smallproblem

PostPosted: Aug 10, 2003 @ 6:46pm
by joe

PostPosted: Aug 10, 2003 @ 7:00pm
by CpuWhiz105

PostPosted: Aug 10, 2003 @ 7:44pm
by Johan

crtdebug

PostPosted: Aug 11, 2003 @ 11:46am
by joe

PostPosted: Aug 12, 2003 @ 1:36am
by CpuWhiz105
You would explicitly add a lib like this:
#pragma comment(lib, "gd204.lib")