28-11-2006, 04:10 PM
Well, I'm having a problem with the FillMemory being used w/ the player array. When it clears a fixed-size string is does not set its text to vbnullstring, it changes to a lot of boxes, you know? so I need to use a diferent sub, like this one:
Code:
Sub ClearPlayer(ByVal Index As Long)
Call FillMemory(ByVal VarPtr(Player(Index)), LenB(Player(Index)), 0)
Player(Index).Login = vbNullString
End Sub