DirectPlay "Unresolved External Symbol" Errors

Started by
2 comments, last by Gf11speed 21 years, 11 months ago
I am having a problem compiling as I am getting this: ......... Linking... SimplePeer.obj : error LNK2001: unresolved external symbol _CLSID_DirectPlay8LobbiedApplication SimplePeer.obj : error LNK2001: unresolved external symbol _IID_IDirectPlay8LobbiedApplication SimplePeer.obj : error LNK2001: unresolved external symbol _CLSID_DirectPlay8Peer SimplePeer.obj : error LNK2001: unresolved external symbol _IID_IDirectPlay8Peer NetConnect.obj : error LNK2001: unresolved external symbol _CLSID_DirectPlay8Address NetConnect.obj : error LNK2001: unresolved external symbol _IID_IDirectPlay8Address Win32_Debug_Unicode/simplepeer.exe : fatal error LNK1120: 6 unresolved externals Error executing link.exe. simplepeer.exe - 7 error(s), 0 warning(s) ................. The thing is, I can''t even compile the DirectPlay sample programs because of this error, so its not my code. What is going on??? Thanks. *====================* http://www.syntasoft.com *=======================*
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)
Advertisement
either you dont have the include directories set up correctly, directplay8 is not installed correctly, or the include files are simply missing from the ms example (hey, it happens.) check if its linked with dxguid.lib
Ok I got it. Thank you very much. When I included dxguid.lib it worked!

Thanks



*====================*
http://www.syntasoft.com
*=======================*
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)
One other thing though. I got it working, but I am having a problem with the Initialize(); For some reason, my program bombs when I call that function. Why? I am following the step-by-step instructions of the DirectX documentation. Please help.
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)

This topic is closed to new replies.

Advertisement