Original Post
Ok, I''ve got a problem with DirectPlay at the mo.
I''m not sure how to use the CreatePlayer(LPDPID dpid,LPDPNAME dpname,HANDLE hevent,...); function.
All the parameters seem straight forward enough, just like all the other functions in DirectX. However I become stuck when I have to put something in for the HANLD hevent parameter.
I''ve never messed with HANDLE''s ever before. Could someone plz point me in a DIRECT''ion.
Also what are the steps involved in making a game that supports Multi-player over the internet when using DirectPlay? - e.g
I''ve got a friend in Canada, I''m in the UK, and we want to play a multiplayer game (Which is not ran on a Battle net server, just a home made game)
As Users,
what would the users (me and my friend in Canada) have to specify to make the connection (IP no''s,web address,E-mail''s etc)??.
As a Programmer,
what functions would I have to write/use (DirectPlay) to make the connection - is there a kind of SetIPNumber(...) function or something for this?
/Memir