Re: Is it safe to call disconnect? (General questions)
Tushar,
it is safe to call Disconnect after Connect when nonblocking mode is used. But, it's dangerous to use component from multiple threads (component is apartment-threaded), you must use it from same thread where you initialized it, otherwise it may crash - as you experienced it.
I suggest you reorganize your code a bit so you can call Disconnect from same thread. Possible?
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