I'm currently working on a hiking application which needs some GPS coordinates. I've heard you have to read out a socket. On that socket are the gps coordinates of the device you use. In my case it is a bluetooth gps device.

1. How can I find out which socket I have to read out?
2. Which API (MFC, Visual Studio 2005, PocketPC 2003) do I use for that purpose?