Skip to main content
GameDev.net gamedev.net
🔒 Locked

DIrectPlay Client

Started by hexalite2001 Dec 27, 2002 at 7:22 PM 1 replies 400+ views
Original Post
hexalite2001
hexalite2001
I''m using VB, When I try and close my DPlay client with DPClient.Close the application won''t close. It''s not frozen because I can use the program and move it around but it just won''t exit out. Any ideas/hints why this type of hang might occur? What I have is, DPClient.CancelAsyncOperation 0, DPNCANCEL_ALL_OPERATIONS DPClient.UnRegisterMessageHandler DPClient.Close ''Close connection ''Unload from memory Set DPServerAddress = Nothing Set DPClientAddress = Nothing Set DPClient = Nothing Set DX = Nothing
Smurfwow
Smurfwow
you should mention what version of visual basic and what version of directx your using...

im guessing vb6 and dx8... ?
hexalite2001
hexalite2001
VB6 DX8

If I try to DPClient.Close now, it now crashes out with a memory error.

I think I might have some kinda feedback to the client from the server that might stop it from closing, but before I close I told the client to cancel all opeerations, so I''m not even sure.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.