the problem is solved now. I had a SPORTAX.Close() call in the code, but somehow it didn´t work - I changed the code slightly and everything works as expected.
But now I´m experiencing another problem, I can´t figure out:
When one of the ports, I am opening to find my device, is a bluetooth-COM-Port, which does not have a device connected to it, the whole program freezes! I don´t get any exception, which I can handle in the code. I have to close the app using the taskmanager!
The same occurs with your VB6 AND the VC6 sample application (unmodified!), when opening a Bluetooth-Port with no device connected to it, and then typing a letter in the terminal-textfield - the Port is opened OK - but immediately after typing the letter, the application freezes! (System Win XP-SP3, Bluetooth: Broadcom /Widcomm drivers (newest available)).
The latter problem really makes the activeX useless to me! So I really appreciate any help/workaround or patch!