Click here to Skip to main content
12,625,289 members (40,548 online)
Click here to Skip to main content


79 bookmarked

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.
// 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
#include <atlbase.h>

using namespace ATL;

#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>
#include <atlwince.h>

#ifdef lstrlenW 
#undef lstrlenW

#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.


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


About the Author

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

You may also be interested in...

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