Direct Play
-
I'm not sure if this is the correct place to ask this question but... I'm very new to DirectX and I want to add some network functionality to my game. I can create the DirectPlay object with CoCreateInstance() but my app is failing at InitializeConnection(). I want the LPVOID parameter to always be an Internet TCP/IP Connection For DirectPlay and I'd like to hard code this (bad I know!). What can I pass in to this LPVOID parameter? Can I cast a string or something to LPVOID? Thanks, Ciaran
-
I'm not sure if this is the correct place to ask this question but... I'm very new to DirectX and I want to add some network functionality to my game. I can create the DirectPlay object with CoCreateInstance() but my app is failing at InitializeConnection(). I want the LPVOID parameter to always be an Internet TCP/IP Connection For DirectPlay and I'd like to hard code this (bad I know!). What can I pass in to this LPVOID parameter? Can I cast a string or something to LPVOID? Thanks, Ciaran
Did you want to hardcode an IP address IN the InitializeConnection? Or did you mean you wanted to hardcode the TYPE of address as being TCP/IP? Which type of DirectPlay object are you trying to use? Client/Server or Peer-to-Peer? Erik I hit faked him with my win32 API .chm and the peabrain goes for it. I follow it up with a salvo of left's and right's sending him down hard. It's lunch time and he's getting a Champ Sandwhich Special. I said, How's that Mr. VB?! Is that 'I wanna use COM in that Server enough for you?!' ...Ever since then, I've been the Champ.