Discussion in 'Questions (Windows Mobile)' started by Georg, Jul 31, 2008.
how I can find out, if on the device an external or internal GPS is installed with program code?
See this code: http://www.basic4ppc.com/forum/share-your-creations/159-gps-port-auto-detect-more-files.html
The latest version of autodetect program.
You have to add the DLLs.
The connection to "NIVUT" will not work, its an external application.
It does not detect the software GPS ports that are included as part of WM5 AND wm6, only the HW port.
What i wont to do is to detect if there is an internal gps included at the device, if it is there then there is a sub in the programm using GPSint.dll otherwise the sub based on GPS.dll is used. And i am looking for a statement like
if (GPSint) then
intgps 'called sub for GPSint
gps 'called sub for GPS Bluetooth p.E.
Look at the attached program, in Sub GPS_port_open, the definitions of the registry for internal GPS, if it exists. You need a registry editor or similar program.