Linker errors w/ DPlay8 ;(
I have set my project up correctly as far as I can tell. I have it as multithreaded and I linked it to the dplay.lib and the winmm.lib. I''ve included DXUtil.h and dplay8.h in my source files, but no matter how I organize it I still get the same linker errors:
Linking...
CServer.obj : error LNK2001: unresolved external symbol _CLSID_DP8SP_TCPIP
CServer.obj : error LNK2001: unresolved external symbol _CLSID_DirectPlay8Address
CServer.obj : error LNK2001: unresolved external symbol _IID_IDirectPlay8Address
CServer.obj : error LNK2001: unresolved external symbol _CLSID_DirectPlay8Server
CServer.obj : error LNK2001: unresolved external symbol _IID_IDirectPlay8Server
libcpmtd.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
Debug/SCServer.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
All of my initialization code (which I assume is what is causing the errors) is using the DPServer example in chapter 10 as a reference but wrapped in a class (CServer). Any input on these stupid linker errors would be greatly apperciated.
Have you tried putting in the dxguid.lib library?
LostLogic
www.lostlogic.com
Author, Multiplayer Game Programming
LostLogic
www.lostlogic.com
Author, Multiplayer Game Programming
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement