Linking...
main.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw4
Debug/scroll3.exe : fatal error LNK1120: 1 unresolved externals
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
IID_IDirectDraw4 error
I tested to put the include path of directx first and then I get another error:
you have to link to the directx libraries.
in visual c++ its in project->settings->link
add ddraw.lib and probably dxguid.lib in the object/lib modules list
in visual c++ its in project->settings->link
add ddraw.lib and probably dxguid.lib in the object/lib modules list
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement