Advertisement

Another DirectX Problem

Started by April 11, 2002 04:57 PM
1 comment, last by Senguin 22 years, 8 months ago
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.
Advertisement
Thanks a ton, haven''t seen anywhere that has said that... but i found out where and it works by just adding ddraw.lib.

Senguin

This topic is closed to new replies.

Advertisement