Open Virtural COM in XP issue.
Help!!
I am developing a application in XP that requires to open an virtual
bluetooth COM port.
In my case, I use Bluetooth dongle AP to pair up and open Virtual COM.
After the open Virtual COM succeed, I use hyperterminal to open the COM
and sent data; it all works fine.
However, as I use "CreateFile" to access the virutal COM programmingly,
it returns with an invalid handle. (No other ap is using the COM port I
used) Using the same segment of code to open another COM port other
than Bluetooth virtual com port, it works fine as well. Could someone
please explain why is it not working in this case and how could I
possibiliy solve the issue.
I'd really appreciate for any help!
Thanks!!
|