View Single Post
Old 08-02-2006, 12:47 PM   #38
paulpv
Constant Bitrate
 
Join Date: Aug 2003
Location: Seattle, WA
Vehicle: 2003 Nissan 350Z
Posts: 115
My Photos: ()
OK folks, I think I figured it out!
Sometimes writing good thorough code makes things break!
The problem was that I was calling "GetCommProperties" on the port to find out if its properties are within acceptable contraints (baud rate, rx queue, etc).
The GetCommProperties on an XPort fails.
I commented out that call and everything seems to work fine now!

Please give my v0.6 test app a try at the "Releases" page of:
http://workspaces.gotdotnet.com/CFMapPoint

Please let me know if it:
1) finds your COM port
2) can open your COM port
3) can read GPS info from your COM port

If all looks good I will add this code to CFMapPoint hopefully this weekend.

Pv
__________________
paulpv is offline   Reply With Quote