Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

GPS and Web Service using C++ ATL/WTL (Windows Mobile 6, Standard)

, 18 Jan 2008 CPOL
This article explains how to use the GPS API and Web Service on a SmartPhone to show demographics information for the current location.
gpsdemographics.zip
GPSDemographicsSetup
GPSDemographicsSetup.vddproj
GPSDemographics
com_cdynews
DemographixQuery.disco
DemographixQuery.wsdl
results.discomap
res
background.bmp
Demographics.ico
gpsdemographicssetupcab.zip
GPSDemographicsSetup.CAB
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="8.00"
	Name="GPSDemographics"
	ProjectGUID="{1B8B52E2-D3DC-4C2F-B7F0-29C284B8A838}"
	RootNamespace="Demographics"
	>
	<Platforms>
		<Platform
			Name="Windows Mobile 6 Standard SDK (ARMV4I)"
		/>
	</Platforms>
	<ToolFiles>
	</ToolFiles>
	<Configurations>
		<Configuration
			Name="Debug|Windows Mobile 6 Standard SDK (ARMV4I)"
			OutputDirectory="$(PlatformName)\Debug"
			IntermediateDirectory="$(PlatformName)\Debug"
			ConfigurationType="1"
			ATLMinimizesCRunTimeLibraryUsage="false"
			CharacterSet="1"
			>
			<Tool
				Name="VCPreBuildEventTool"
			/>
			<Tool
				Name="VCCustomBuildTool"
			/>
			<Tool
				Name="VCXMLDataGeneratorTool"
			/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"
			/>
			<Tool
				Name="VCMIDLTool"
				PreprocessorDefinitions="_DEBUG"
				MkTypLibCompatible="false"
				GenerateStublessProxies="true"
				TypeLibraryName="$(IntDir)/Demographics.tlb"
				HeaderFileName="Demographics.h"
				DLLDataFileName=""
				InterfaceIdentifierFileName="Demographics_i.c"
				ProxyFileName="Demographics_p.c"
			/>
			<Tool
				Name="VCCLCompilerTool"
				ExecutionBucket="7"
				Optimization="0"
				AdditionalIncludeDirectories="C:\WTL\Include"
				PreprocessorDefinitions="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;_DEBUG;$(PLATFORMDEFINES);$(ARCHFAM);$(_ARCHFAM_);_UNICODE;SMARTPHONE2003_UI_MODEL"
				MinimalRebuild="true"
				RuntimeLibrary="1"
				UsePrecompiledHeader="2"
				WarningLevel="3"
				DebugInformationFormat="3"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
				AdditionalOptions="-n"
				PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE=$(CEVER);SHELLSDK_MODULES_AYGSHELL"
				Culture="1033"
				AdditionalIncludeDirectories="$(IntDir);C:\WTL\Include"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				IgnoreImportLibrary="true"
				AdditionalOptions=" /subsystem:windowsce,5.02 /machine:THUMB"
				AdditionalDependencies="atlsd.lib libcmtd.lib corelibc.lib coredll.lib commctrl.lib ole32.lib oleaut32.lib uuid.lib atl.lib atlosapis.lib gpsapi.lib $(NOINHERIT)"
				LinkIncremental="2"
				DelayLoadDLLs="$(NOINHERIT)"
				GenerateDebugInformation="true"
				SubSystem="0"
			/>
			<Tool
				Name="VCALinkTool"
			/>
			<Tool
				Name="VCXDCMakeTool"
			/>
			<Tool
				Name="VCBscMakeTool"
			/>
			<Tool
				Name="VCCodeSignTool"
			/>
			<Tool
				Name="VCPostBuildEventTool"
			/>
			<DeploymentTool
				ForceDirty="-1"
				RemoteDirectory=""
				RegisterOutput="0"
				AdditionalFiles=""
			/>
			<DebuggerTool
			/>
		</Configuration>
		<Configuration
			Name="Release|Windows Mobile 6 Standard SDK (ARMV4I)"
			OutputDirectory="$(PlatformName)\Release"
			IntermediateDirectory="$(PlatformName)\Release"
			ConfigurationType="1"
			ATLMinimizesCRunTimeLibraryUsage="false"
			CharacterSet="1"
			>
			<Tool
				Name="VCPreBuildEventTool"
			/>
			<Tool
				Name="VCCustomBuildTool"
			/>
			<Tool
				Name="VCXMLDataGeneratorTool"
			/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"
			/>
			<Tool
				Name="VCMIDLTool"
				PreprocessorDefinitions="NDEBUG"
				MkTypLibCompatible="false"
				GenerateStublessProxies="true"
				TypeLibraryName="$(IntDir)/Demographics.tlb"
				HeaderFileName="Demographics.h"
				DLLDataFileName=""
				InterfaceIdentifierFileName="Demographics_i.c"
				ProxyFileName="Demographics_p.c"
			/>
			<Tool
				Name="VCCLCompilerTool"
				ExecutionBucket="7"
				AdditionalIncludeDirectories="C:\WTL\Include"
				PreprocessorDefinitions="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;NDEBUG;$(PLATFORMDEFINES);$(ARCHFAM);$(_ARCHFAM_);_UNICODE;SMARTPHONE2003_UI_MODEL"
				ExceptionHandling="0"
				RuntimeLibrary="0"
				UsePrecompiledHeader="2"
				WarningLevel="3"
				DebugInformationFormat="0"
			/>
			<Tool
				Name="VCManagedResourceCompilerTool"
			/>
			<Tool
				Name="VCResourceCompilerTool"
				AdditionalOptions="-n"
				PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE=$(CEVER);SHELLSDK_MODULES_AYGSHELL"
				Culture="1033"
				AdditionalIncludeDirectories="$(IntDir);C:\WTL\Include"
			/>
			<Tool
				Name="VCPreLinkEventTool"
			/>
			<Tool
				Name="VCLinkerTool"
				IgnoreImportLibrary="true"
				AdditionalOptions=" /subsystem:windowsce,5.02 /machine:THUMB"
				AdditionalDependencies="atls.lib libcmt.lib corelibc.lib coredll.lib commctrl.lib ole32.lib oleaut32.lib uuid.lib atl.lib atlosapis.lib gpsapi.lib $(NOINHERIT)"
				LinkIncremental="1"
				DelayLoadDLLs="$(NOINHERIT)"
				SubSystem="0"
			/>
			<Tool
				Name="VCALinkTool"
			/>
			<Tool
				Name="VCXDCMakeTool"
			/>
			<Tool
				Name="VCBscMakeTool"
			/>
			<Tool
				Name="VCCodeSignTool"
			/>
			<Tool
				Name="VCPostBuildEventTool"
			/>
			<DeploymentTool
				ForceDirty="-1"
				RemoteDirectory=""
				RegisterOutput="0"
				AdditionalFiles=""
			/>
			<DebuggerTool
			/>
		</Configuration>
	</Configurations>
	<References>
	</References>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
			>
			<File
				RelativePath=".\AboutDlg.cpp"
				>
			</File>
			<File
				RelativePath=".\Demographics.cpp"
				>
			</File>
			<File
				RelativePath=".\DemographicsFrame.cpp"
				>
			</File>
			<File
				RelativePath=".\DemographicsView.cpp"
				>
			</File>
			<File
				RelativePath=".\stdafx.cpp"
				>
				<FileConfiguration
					Name="Debug|Windows Mobile 6 Standard SDK (ARMV4I)"
					>
					<Tool
						Name="VCCLCompilerTool"
						UsePrecompiledHeader="1"
					/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Windows Mobile 6 Standard SDK (ARMV4I)"
					>
					<Tool
						Name="VCCLCompilerTool"
						UsePrecompiledHeader="1"
					/>
				</FileConfiguration>
			</File>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl;inc"
			>
			<File
				RelativePath=".\AboutDlg.h"
				>
			</File>
			<File
				RelativePath=".\DemographicsFrame.h"
				>
			</File>
			<File
				RelativePath=".\DemographicsView.h"
				>
			</File>
			<File
				RelativePath=".\resourcesp.h"
				>
			</File>
			<File
				RelativePath=".\stdafx.h"
				>
			</File>
			<File
				RelativePath=".\WebService.h"
				>
			</File>
		</Filter>
		<Filter
			Name="Resource Files"
			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;manifest"
			>
			<File
				RelativePath=".\res\background.bmp"
				>
			</File>
			<File
				RelativePath=".\res\Demographics.ico"
				>
			</File>
			<File
				RelativePath=".\Demographicssp.rc"
				>
			</File>
			<File
				RelativePath=".\Demographicssp.rc2"
				>
			</File>
		</Filter>
		<Filter
			Name="GPS"
			>
			<File
				RelativePath=".\GPSDevice.cpp"
				>
			</File>
			<File
				RelativePath=".\GPSDevice.h"
				>
			</File>
			<File
				RelativePath=".\IGPSSink.h"
				>
			</File>
		</Filter>
		<Filter
			Name="com_cdynews"
			UniqueIdentifier="http://ws.cdyne.com/DemographixWS/DemographixQuery.asmx"
			>
			<File
				RelativePath=".\com_cdynews\DemographixQuery.disco"
				DeploymentContent="true"
				>
			</File>
			<File
				RelativePath=".\com_cdynews\DemographixQuery.wsdl"
				>
			</File>
			<File
				RelativePath=".\com_cdynews\results.discomap"
				>
			</File>
		</Filter>
		<Filter
			Name="Generated Files"
			UniqueIdentifier="{67DA6AC5-F800-4c08-8B7A-83BB121AAD01}"
			SourceControlFiles="false"
			>
			<File
				RelativePath=".\com_cdynews.h"
				>
			</File>
		</Filter>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Valentin Ivanov
Chief Technology Officer CDYNE Corporation
United States United States
Developer, Maker and Tinkerer

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.1411028.1 | Last Updated 18 Jan 2008
Article Copyright 2008 by Valentin Ivanov
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid