yes it's defined in this .h file but linker print a error message for this code: #include "DPwinrott.h"
HRESULT ConnectUsingLobby(LPDPLAYINFO lpDPInfo)
{
LPDIRECTPLAY2A lpDirectPlay2A = NULL;
LPDIRECTPLAY3A lpDirectPlay3A = NULL;
LPDIRECTPLAYLOBBYA lpDirectPlayLobbyA = NULL;
LPDPLCONNECTION lpConnectionSettings = NULL;
DPID dpidPlayer;
DWORD dwSize;
HRESULT hr;
// get an ANSI DirectPlay lobby interface
//Diddl
hr = DirectPlayLobbyCreate(NULL, &lpDirectPlayLobbyA, NULL, NULL, 0);
hr = 1;
if FAILED(hr)
goto FAILURE;
Erzeugen von WinRott224.exe.
POLINK: error: Unresolved external symbol '_DirectPlayLobbyCreateA'.
POLINK: fatal error: 1 unresolved external(s).
*** Fehlercode: 1 ***
Fertig.