Re: Application freezing on Windows 7 - WeOnlyDo Discussion board

Re: Application freezing on Windows 7 (General questions)

by woddrazen, Thursday, July 23, 2009, 16:20 (5363 days ago) @ coollupo

Hi Dieter,


We receive similar reports in paste when using DB and wodSSHTunnel.

Problem happens because 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 could solve this problem by:

1. Trying to use wodSSHTunnel.EXE instead wodSSHTunnel.ocx
2. Setting Threading = True
3. Moving any of these 2 components in separate thread (DB if possible)
4. Setting DB to work in non-blocking (async) mode

You could try any of above.

Let me know how it goes.


Regards,
Drazen


Complete thread: