We have a custom CF card device that inetrfaces via Serial
to a GUI program running on the iPAQ 210 (WM6). The GUI code
scans all the COM ports using the CreateFile function (see
below) and assigns the first avaiable COM port to our CF
card. However, when we check the COM port assigned to
Bluetooth we get an annoying BT error message saying "Unable
to connect to Bletooth...". How can I prevetnt this error
message from being displayed or how can I determine in the
GUI PPB script what COM port is assigned to Bluetooth?
Thanks
_FileHandle = CreateFile( port_id, &
GENERIC_READ + GENERIC_WRITE, &
SHARE_READ + SHARE_WRITE, &
0, &
FILE_OPEN_EXISTING, &
0, 0 )