Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Where do I put dplayx.lib?

Author
Message
Quasar14
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location:
Posted: 10th Mar 2009 03:58
I'm pretty new to Dark GDK (and programming in general actually), but when trying to compile one of the tutorial programs, it Visual C++ said that it could not open "dplayx.lib". I found an older post that sent me to where I could download it, but now that I have it, I don't know where to place it so that the compiler can find it. Thanks for the help in advance.
AlexZinn
15
Years of Service
User Offline
Joined: 17th Feb 2009
Location:
Posted: 10th Mar 2009 09:24
ow... i had this problem... i had it when i had a lot of directx gdks.... uninstall all directx gdks.. uninstall c++ and darkgdk.. and install it exactly like say in tutorial

If someone need something, add me to your msn
Was SuperKid , now AlexZinn
Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 10th Mar 2009 20:40
Interesting! I have installed DirectX SDK August 2007 and DirectX SDK November 2008 and are working let's say in parallel and works fine - even the multiplayer.lib.

And i don't think that is really necessary to uninstall all programs. If you you have this 2 SDKs mentioned just copy the Nov 2008 over Aug 2007 and "voila!".

If this won't work for you search on this forum something about multiplayer.lib and you will find a dummy library that helps you.

First say to yourself what you would be; and then do what you have to do.
Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 10th Mar 2009 20:45
Maybe i wasn't attentive at the question [dump][dump][dump]

(DirectX Path)/Lib/x86/

First say to yourself what you would be; and then do what you have to do.
Quasar14
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location:
Posted: 13th Mar 2009 20:40
Okay now it found that, but now when i try to compile it i get different errors that I cant really make sense of:

------ Build started: Project: Dark Invaders, Configuration: Debug Win32 ------
Linking...
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPSPGUID_TCPIP referenced in function "public: int __thiscall CNetwork::SetNetConnections(int)" (?SetNetConnections@CNetwork@@QAEHH@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPSPGUID_IPX referenced in function "public: int __thiscall CNetwork::SetNetConnections(int)" (?SetNetConnections@CNetwork@@QAEHH@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _CLSID_DirectPlay referenced in function "private: static int __stdcall CNetwork::StaticGetConnection(struct _GUID const *,void *,unsigned long,struct DPNAME const *,unsigned long,void *)" (?StaticGetConnection@CNetwork@@CGHPBU_GUID@@PAXKPBUDPNAME@@K1@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _IID_IDirectPlay4A referenced in function "private: static int __stdcall CNetwork::StaticGetConnection(struct _GUID const *,void *,unsigned long,struct DPNAME const *,unsigned long,void *)" (?StaticGetConnection@CNetwork@@CGHPBU_GUID@@PAXKPBUDPNAME@@K1@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPAID_ComPort referenced in function "public: int __thiscall CNetwork::FindNetSessions(char *)" (?FindNetSessions@CNetwork@@QAEHPAD@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPSPGUID_SERIAL referenced in function "public: int __thiscall CNetwork::FindNetSessions(char *)" (?FindNetSessions@CNetwork@@QAEHPAD@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPAID_Phone referenced in function "public: int __thiscall CNetwork::FindNetSessions(char *)" (?FindNetSessions@CNetwork@@QAEHPAD@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPSPGUID_MODEM referenced in function "public: int __thiscall CNetwork::FindNetSessions(char *)" (?FindNetSessions@CNetwork@@QAEHPAD@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPAID_INet referenced in function "public: int __thiscall CNetwork::FindNetSessions(char *)" (?FindNetSessions@CNetwork@@QAEHPAD@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _DPAID_ServiceProvider referenced in function "public: int __thiscall CNetwork::FindNetSessions(char *)" (?FindNetSessions@CNetwork@@QAEHPAD@Z)
multiplayer.lib(CNetwork.obj) : error LNK2019: unresolved external symbol _IID_IDirectPlayLobby2A referenced in function "public: int __thiscall CNetwork::FindNetSessions(char *)" (?FindNetSessions@CNetwork@@QAEHPAD@Z)
C:\Program Files\The Game Creators\Dark GDK\Tutorials\Dark Invaders\Debug\Dark Invaders.exe : fatal error LNK1120: 11 unresolved externals
Build log was saved at "file://c:\Program Files\The Game Creators\Dark GDK\Tutorials\Dark Invaders\Dark Invaders\Debug\BuildLog.htm"
Dark Invaders - 12 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I didn't make any changes to this program, its from a tutorial that came with it.
Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 14th Mar 2009 11:48
If you are not going to use an internet connection you can try looking at this page and make exactly as the author says:

http://forum.thegamecreators.com/?m=forum_view&t=139830&b=22

I've tryed on other computers and that worked fine.

First say to yourself what you would be; and then do what you have to do.

Login to post a reply

Server time is: 2024-11-25 17:53:09
Your offset time is: 2024-11-25 17:53:09