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
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
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#pragma once

// Change this value to use different versions
#define WINVER 0x0420
#define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA
#include <atlbase.h>

using namespace ATL;

#define _WTL_USE_CSTRING
#include <atlapp.h>

extern CAppModule _Module;

#include <atlhost.h>
#include <atlctl.h>

#include <tpcshell.h>
#include <aygshell.h>
#pragma comment(lib, "aygshell.lib")

#include <atlframe.h>
#include <atlctrls.h>
#include <atlmisc.h>
#define _WTL_CE_NO_ZOOMSCROLL
#include <atlwince.h>

#ifdef lstrlenW 
#undef lstrlenW
#endif

#include "WebService.h"

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 | Mobile
Web04 | 2.8.140821.2 | Last Updated 18 Jan 2008
Article Copyright 2008 by Valentin Ivanov
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid