winsonlee
Oct 1st, 2002, 09:36 PM
Currently i am using directplay 8.0. I tried the following code, but it return me an error msg saying Object variable or With block variable not set. I would like to know this error is due to what reason and how i can rectify the problem.
Private Sub cmdTerminate_Click()
Call DirectPlay8Event.DestroyPlayer(udtPlayers(index).lngPlayerID, 1, False)
End Sub
Private Sub cmdTerminate_Click()
Call DirectPlay8Event.DestroyPlayer(udtPlayers(index).lngPlayerID, 1, False)
End Sub