2025-11-28 00:35:46 +09:00

46 lines
1.6 KiB
Plaintext

=========================
Location API Synchronous Access
Windows 7 Location Platform
=========================
This sample shows how to access the Location Platform in a synchronous manner. This sample requires Visual Studio to be built.
===============================
Sample Language Implementations
===============================
This sample is available in the following language implementations:
C++
=====
Files
=====
SimpleLocation.cpp The main file
SimpleLocation.sln Solution for the project
SimpleLocation.vcproj VS Project file
ReadMe.txt This ReadMe
=============
Prerequisites
=============
Windows 7
Visual Studio 2008
========
Building
========
This sample cannot be built in the SDK environment. Visual Studio must be used.
To build the sample using Visual Studio 2008:
1. Run the Windows SDK Configuration Tool provided with the SDK to add SDK include directories to Visual Studio
2. Open File Explorer and navigate to the directory.
3. Double-click the icon for the .sln (solution) file to open the file in Visual Studio.
4. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.
=======
Running
=======
To run the sample:
1. Navigate to the directory that contains the new executable, using the command prompt or File Explorer.
2. Type SimpleLocation.exe at the command line, or double-click the icon for SimpleLocation.exe to launch it from File Explorer.
To run from Visual Studio:
1. Press F5 or Click menu
Debug->Start Debugging