error setting up direct x

Started by
0 comments, last by jimiwa 20 years, 8 months ago
I''m getting a compiler error trying to setup. error LNK2001: unresolved external symbol _IID_IDirectDraw7 fatal error LNK1120: 1 unresolved externals the line of code it is referring to is this: if (FAILED(DirectDrawCreateEx(NULL, (void **)&lpdd, IID_IDirectDraw7, NULL))) exit(1); I don''t know why the compiler refers to IID_IDirectDraw7 as _IID_IDirectDraw7
Advertisement
Did you remember to link to dxguid.lib?
--- insert signature here ---

This topic is closed to new replies.

Advertisement