I have written an app using the gps and serial2 libraries and it has been working well on a WM5 AT&T 8525 (HTC Hermes) with a bluetooth GPS. I recently got a WM6 Samsung SGH-I617 (Blackjack II) Smartphone. This device contains an internal GPS. I use the same ConnectGPS sub as in GPS4PPC. The app encounters an error every time it tries to do the serial.PortOpen in the ConnectGPS sub when trying to use the internal GPS. With an external bluetooth GPS it works fine on the SGH-I617 but I would prefer to use the built-in GPS. The Microsoft GPS Intermediate Driver exposes a comm port interface for use with legacy apps and I have that set for com4 for the internal GPS. This is working fine in some other apps I have loaded such as Google maps and GPSTest but doesn't seem to work with Basic4PPC applications. It appears that what is needed is a .dll wrapper to interface to gpsapi.dll the application interface to the GPS Intermediate Driver but I don't have the tools to make a dll.