[Windows Mobile Apps and Games] Deleted member 1890170:
GPS Emulator (Fake GPS) enables you to receive within WindowsCE Device Emulator NMEA-data using the GPS APIs although there is no GPS receiver on the emulated device. Note that the GPS data is read from NMEA .txt files.

Here Is How To Add GPS Emulator To WindowsCE Device Emulator

All you need are 3 DLLs (GPSAPI.dll, GPSID.dll and FakeGPS.dll - see attachment) and at least one textfile containing NMEA-data. You put the 3 libraries mentioned into Device Emulator's \Windows folder. If CE libraries cxport.dll and/or oleaut32.dll are missing in \Windows, you have to put it/them there to, too. The texfile(s) containing the NMEA-data must go to Device Emulator's folder \Program Files\FakeGPS\GPSFiles (note this location is hardcoded in FakeGPS.dll).

A: Add drivers GPSID.dll and FakeGPS.dll to Device Emulator's registry using a .REG-file as with content as following

; This establishes a fake GPS port the NMEA-data are sent to
; This is the COM port the navigation software searches for
; and reads from

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GPS]
"Index"=dword:2
"Prefix"="COM"
"Flags"=dword:2
"Keep"=dword:1
"Order"=dword:10
"Context"=dword:0

; This loads the GPS Intermediate Driver ( GPSID )

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GPSID]
"Flags"=dword:2
"Context"=dword:0
"Index"=dword:0
"Prefix"="GPD"
"Keep"=dword:1
"Order"=dword:10
"Dll"="GPSID.dll"

; This configures the GPS Intermediate Driver ( GPSID )

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver]
"IsEnabled"=dword:1
"MaxLogFileSize"=dword:0
"OldLogFile"=""

; This directs NMEA-data output to COM2
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer]
"DriverInterface"="COM2:"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Multiplexer\ActiveDevice]
"Context"=dword:12344160
"Flags"=dword:2
"Keep"=dword:1
"Dll"="GPSID.dll"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers]
"CurrentDriver"="Test File Set 1"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver\Drivers\Test]
"InterfaceType"="File"
"File1"="\Programs Folder\FakeGPS\GPSFiles\FileInput1.txt"
"File2"="\Programs Folder\FakeGPS\GPSFiles\FileInput2.txt"
"FriendlyName"="GPS Emulator - Fake GPS files set"

B: Create at least a NMEA-data textfile named FileInput1.txt with contents as for example

$GPGLL,36000.0000,N,72000.0000,E,000023.998,V*1A
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPRMC,000023.998,V,36000.0000,N,72000.0000,E,0.000000,,101102,,*30
$GPGGA,000024.998,0000.0000,N,00000.0000,E,0,00,50.0,0.0,M,0.0,M,0.0,0000*78
$GPGLL,36000.0000,N,72000.0000,E,000024.998,V*1D
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPRMC,000024.998,V,36000.0000,N,72000.0000,E,0.000000,,101102,,*37
$GPGGA,000025.998,0000.0000,N,00000.0000,E,0,00,50.0,0.0,M,0.0,M,0.0,0000*79
$GPGLL,36000.0000,N,72000.0000,E,000025.998,V*1C
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPRMC,000025.998,V,36000.0000,N,72000.0000,E,0.000000,,101102,,*36
$GPGGA,000026.998,0000.0000,N,00000.0000,E,0,00,50.0,0.0,M,0.0,M,0.0,0000*7A
$GPGLL,36000.0000,N,72000.0000,E,000026.998,V*1F
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPGSV,1,1,1,7,0,0,0*4F
$GPRMC,000026.998,V,36000.0000,N,72000.0000,E,0.000000,,101102,,*35
$GPGGA,000027.998,0000.0000,N,00000.0000,E,0,00,50.0,0.0,M,0.0,M,0.0,0000*7B

For your convenience 2 NMEA-data files are added (see attachment)