• Advertisement
Sign in to follow this  

DirectDraw Noob

This topic is 4681 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I'm new here at GameDev and at Directx programming. I've decided to start with DirectDraw because I don't have any good freeware (not shareware) to design 3-d meshes (or whatever). Anyway, I have this error: LINK : error LNK2020: unresolved token (0A000004) IID_IDirectDraw7 LINK : fatal error LNK1120: 1 unresolved externals because of this line of code ddrval = DirectDrawCreateEx( NULL, (LPVOID*)&lpDD, IID_IDirectDraw7, NULL ); I figure there is something wrong with the linker :rolleyes: but I don't know where to look for it. I have included DDRAW.H and linked to the x86 directory of the lib directory of the Microsoft DirectX 9.0 SDK. Any ideas? If you need more info, tell me what you need to see. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Thanks, that helped. Now, a new error has appeared. Here it is:

fatal error LNK1181: cannot open input file 'C:\Program.obj'

I don't know where to look for the setting to turn this off (in MSVC7). Please help this poor noob again >_<

[Edited by - Deus Ex Otium on March 30, 2005 2:22:49 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement