Archived

This topic is now archived and is closed to further replies.

the_grip

DX MSVC++ Question

Recommended Posts

Hello... recently i''ve had some free time at work, so i''m trying to sneak in some work on a couple projects. i did this once before, and it worked fine, but now i''m getting problems... Here''s the deal - i create a new project with all the header and source files for my project. Then, i go to Project->Settings and set up the link tab to add the libraries ddraw.lib and dxguid.lib, but MSVC++ still won''t compile my programs ''cause it doesn''t have a clue as to what LPDIRECTDRAW7 is, etc. Anyone have any suggestions? i know i''m missing something small... "You call him Dr. Grip, doll!"

Share this post


Link to post
Share on other sites
Hmm, that seems to be it. However, now i get a:


...error LNK2001: unresolved external symbol _DirectDrawCreateEx@16
...error LNK2001: unresolved external symbol _IID_IDirectDraw7


i've dealt with this stuff before... i just can't remember how i fixed it.

NOTE: This was in response to moving the include and lib directories to the top of the list. i did include ddraw.h, but that's not a stupid question (i'm fallable like everyone else :D)

Edited by - the_grip on July 25, 2001 10:42:29 AM

Share this post


Link to post
Share on other sites
Hmm.. it reports same errors for me if I take out the ddraw.lib and dxguid.lib.. are you sure you are using the same build configuration to build where you included the libraries? (ie. Win32 Debug / Win32 Release)

Share this post


Link to post
Share on other sites