Mike,
Thanks for your help.
Your demo run only once, and the next times, it always stops with the error Service not exists. But I do believe that we can obtain the COM port by the COMNumber of BFBluetoothCOMPortCreatorX.
I would like to ask you one more question: In case of vice versa, when remote bluetooth device connect to the PC in serial way (the PC is master), with your activex, is there any way to get the COM number? The EnumCOMPorts method of BFBluetoothDiscoveryX activex can do that?
Thx & rgds