unresolved external symbol _IID_IDirectDraw4

Started by
1 comment, last by The Alchemist 22 years, 5 months ago
someone can help me? im always getting this error in the line: DDraw->QueryInterface(IID_IDirectDraw4,(LPVOID *)&DDraw4); (DDraw is a LPDIRECTDRAW object) im already linked the ddraw.lib both in the projects settings or with a "#pragma comment(lib,"C:\\Dxsdk\\lib\\ddraw.lib")" but nothing seems to work... i already run off ideas of what may be happening... someone can help me? ------------------------------- MOTHERSHIP!!! hahaha! very funny! now take me outta here!!!!!
"Everything works out in the end, if it doesn't then it is not the end"
Advertisement
there may be other DirectX libs you need to link. probably "dxguid.lib". i''m not sure because i use OpenGL.

peace.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
thx... that was the problem...

this *&$@ book never mentioned dxguid.lib... Grrr...

-------------------------------
MOTHERSHIP!!! hahaha! very funny! now take me outta here!!!!!
"Everything works out in the end, if it doesn't then it is not the end"

This topic is closed to new replies.

Advertisement