Skip to main content
gamedev.net
🔒 Locked

directdraw error?

Started by master_ball 3 replies 200+ views
Original Post
master_ball
master_ball
error LNK2001: unresolved external symbol "struct IDirectDraw * DirectDrawObject" (?DirectDrawObject@@3PAUIDirectDraw@@A) I get this error when my program is linking, I included ddraw.lib in the link settings. Does anyone have an idea? Thanx! We R 138
-- master_ball --------------------------------student seeking future game dev career, advice welcome
Peon
Peon
This maybe totally irrelevant but try adding dxguid.lib or this to the top of your code:

#define INITGUID

Dunno if that will work, but it looks similar to a problem I had awhile back. Give it a try
Peon
master_ball
master_ball
nothing

We R 138
-- master_ball --------------------------------student seeking future game dev career, advice welcome
master_ball
master_ball
fixed it, thanks!
my

extern LPDIRECTDRAW DirectDrawObject;

didn''t match up to anything

We R 138
-- master_ball --------------------------------student seeking future game dev career, advice welcome

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.