Skip to main content
gamedev.net
🔒 Locked

DirectDraw project linking problem.

Started by DDzuba Jan 8, 2002 at 7:51 AM 2 replies 200+ views
Original Post
DDzuba
DDzuba
Hi ! I have created the DirectDrawScreen class . Now I need to add it to my project. I added file to project. Then I build it - the next errors appear: DirectDrawScreen.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16 DirectDrawScreen.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7 Then I added dxguid.lib ddraw.lib to Project->Settings->(Link-tab)->Object/library modules. But then I build the project - I see this error: DirectDrawScreen.obj : error LNK2001: unresolved external symbol _DirectDrawCreateEx@16 How to fix this ? Thanks.
spinal
spinal
I had a problem like that as well when I used the files from directx 8.0 sdk. I upgraded to 8.1 and it worked fine. Im also using VC++ 6.0. If you are using 8.1 then I dont know what else the prob might be. I hope this helps.

-spinal

Topic Locked

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

Sign in to reply to this topic.