Re: Is it safe to call disconnect? (General questions)
Hi,
Thanks for the reply. But I have a common suitation here. A user issues a connect command to the server, a dialog is shown to the user displaying the status of the connection, also provided is a Cancel button so that the user can break the current operation.
Now hoping I am right once a Connect command is issued the call will not be returned till a connection is established or a timeout occurs or some other error occurs. In such a case the call to Disconnect has to come from a different thread (Am I wrong here?)
Now in my application when a Disconnect is called the application breaks in a debugger indicating invalid RtlHeapAddress (The call coming from wodSSH.dll, DllUnRegisterServer method)
I am using the component in Blocking mode(i.e. Blocking=TRUE) and my TimeOut property is set to 0 as I do not want to disconnect automatically.
Please let me know what can I do here?
Thanks.
Complete thread:
- Is it safe to call disconnect? - Tushar, 2005-08-14, 10:18
- Re: Is it safe to call disconnect? - wodSupport, 2005-08-14, 23:37
- Re: Is it safe to call disconnect? - Tushar, 2005-08-31, 11:30
- Re: Is it safe to call disconnect? - wodSupport, 2005-08-31, 16:08
- Re: Is it safe to call disconnect? - Tushar, 2005-08-31, 11:30
- Re: Is it safe to call disconnect? - wodSupport, 2005-08-14, 23:37