This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Compilation error : XP with GapiDraw204 using EVC 3.0


Compilation error : XP with GapiDraw204 using EVC 3.0

Postby joe » Aug 10, 2003 @ 12:10pm

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
joe
 


Postby CpuWhiz105 » Aug 10, 2003 @ 5:59pm

All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


fixed - but one smallproblem

Postby joe » Aug 10, 2003 @ 6:46pm

joe
 


Postby CpuWhiz105 » Aug 10, 2003 @ 7:00pm

All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Postby Johan » Aug 10, 2003 @ 7:44pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


crtdebug

Postby joe » Aug 11, 2003 @ 11:46am

joe
 


Postby CpuWhiz105 » Aug 12, 2003 @ 1:36am

You would explicitly add a lib like this:
#pragma comment(lib, "gd204.lib")
All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum