Here's my problem.

In my program there exists a componenet which allows me to ssh tunnel things (specifically my mysql DB connection).

this involves port forwarding etc

and what happens is, in the one thread, when i try and open my connection, it sits and waits for it to happen, but of course that same thread is holding the component which ALLOWS this to happen, so the whole thing freezes.

i can get the component in either COM, or ActiveX, any ideas on what 2 do, (besides making another exe) .... ?

thanks