When I originally compiled my video game on windows, I had an error compiling
Direct X Draw. All my drawn images came out wierd.
Now I am on a new computer, with the June DirectX, the last one they'll
release that isn't Vista only.
I have no idea how to link DirectX in with the code. I do a compile all, and
here's what I get:
--------------------Configuration: plgddraw2d - Win32
Release--------------------
Compiling...
directdetection.cpp
C:\backup\CS5\plugins\video\canvas\directxcommon\directdetection.cpp(281) :
error C2061: syntax error : identifier 'HMONITOR'
C:\backup\CS5\plugins\video\canvas\directxcommon\directdetection.cpp(391) :
error C2660: 'DirectDetectionDDrawEnumCallback' : function does not take 5
parameters
C:\backup\CS5\plugins\video\canvas\directxcommon\directdetection.cpp(406) :
error C2065: 'LPDIRECTDRAWENUMERATEEXA' : undeclared identifier
C:\backup\CS5\plugins\video\canvas\directxcommon\directdetection.cpp(406) :
error C2146: syntax error : missing ';' before identifier 'lpDDEnumEx'
C:\backup\CS5\plugins\video\canvas\directxcommon\directdetection.cpp(406) :
error C2065: 'lpDDEnumEx' : undeclared identifier
C:\backup\CS5\plugins\video\canvas\directxcommon\directdetection.cpp(408) :
error C2146: syntax error : missing ';' before identifier 'GetProcAddress'
Error executing cl.exe.
grpall.lib - 6 error(s), 0 warning(s)
Can someone help me out? I think I'm supposed to put something in my
Tools->Options window, but I don't have any idea.
Thanks,
Jim Sager
---------------------------------
Sponsored Link
Mortgage rates near historic lows - Refi $200k loan for only $660/ month -
Click now for info
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]