Re: Syncing local and remote database (General questions)
Hi Ketan,
There is a problem that wodSSHTunnel and your DB connection runs in the same thread. Since your DB blocks the thread while trying to connect, wodSSHTunnel cannot process windows messages (and socket-related messages) and everything hangs.You can choose one of this four choices:
1. Setting Threading = True
2. Moving any of these 2 components in separate thread (DB if possible)
3. Setting DB to work in non-blocking (async) mode
4. Using wodSSHTunnel.EXEUsing wodSSHTunnel.EXEX it's same as COM object (just lives in separate process space).
You should also add reference to it (in VB6), initialize using 'new' keyword, and work just as it would be COM object.Hope I helped.
Regards,
Drazen
Complete thread:
- Syncing local and remote database - Ketan, 2006-04-07, 21:04
- Re: Syncing local and remote database - wodDrazen, 2006-04-07, 21:38
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:38
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:58
- Re: Syncing local and remote database - woddrazen, 2006-04-07, 22:38
- Re: Syncing local and remote database - Ketan, 2006-04-08, 22:57
- Re: Syncing local and remote database - wodDrazen, 2006-04-09, 01:01
- Re: Syncing local and remote database - Ketan, 2006-04-09, 02:21
- Re: Syncing local and remote database - wodAlan, 2006-04-09, 03:02
- Re: Syncing local and remote database - Ketan, 2006-04-09, 09:16
- Re: Syncing local and remote database - wodAlan, 2006-04-09, 14:20
- Re: Syncing local and remote database - Ketan, 2006-04-09, 09:16
- Re: Syncing local and remote database - wodAlan, 2006-04-09, 03:02
- Re: Syncing local and remote database - Ketan, 2006-04-09, 02:21
- Re: Syncing local and remote database - wodDrazen, 2006-04-09, 01:01
- Re: Syncing local and remote database - Ketan, 2006-04-08, 22:57
- Re: Syncing local and remote database - woddrazen, 2006-04-07, 22:38
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:58
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:38
- Re: Syncing local and remote database - wodDrazen, 2006-04-07, 21:38