Yup the script works perfectly fine if no GUI is created.

I agree with Rob, using Win32-gui should not cause your problems, yet it seems it is somehow - I'm a little concerned that something strange is going on.

In fact I had no intention of writing a GUI as it served my purpose without one. But certain "non command prompt friendly" friends of mine would like a GUI. So I tried my hand at creating one.

Let me try undef'ing all the GUI objects and see if it makes a difference.

If that doesn't make a difference could you submit some example code? Just a few lines showing the connection working in a script, and then the connection failing within a GUI?

Cheers,

jez.



Reply via email to