Another DirectX Problem
Hey guys i would appreciate any help.
I''m using both a tutorial from this website the book how to program with DirectX 7.0. I''m running Visuall C++ 6.0.
Here is my problem, when i put in the code:
DirectDrawCreate( NULL, &lpdirectdraw, NULL)
I get an unresolved external symbol _DirectDrawCreate@12 error.
Now i have #include <ddraw.h>
And i have added the MSSDK\INCLUDE and Library in the options menu? What else could be the problem? I assume it is something with a wrong version of Direct X, but how can i tell that?
Thanks
Senguin
You must also link with ddraw.lib and possibly dxguid.lib. The linker settings can be found in the project settings.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement