This documentation is archived and is not being maintained.

Smart Device Samples

The following sample projects illustrate the syntax, structure, and techniques used to solve various device programming challenges.

Windows Mobile

Windows Mobile 5.0 SDK samples are located in <drive>:\Program Files\Windows Mobile 5.0 SDK R2\Samples. Windows Mobile 6 SDK samples are located in the installation folder if you have installed the SDK.

Device Emulator Manager API

Device Emulator samples are available online.

Native Visual C++

The following native samples use Visual C++ to exemplify common device application scenarios.




Demonstrates menus in a Smartphone application.


Demonstrates the basics of using the Microsoft Foundation Classes, and provides a starting point for writing your own MFC application.


Demonstrates a device-independent user-interface in a program that queries and displays all the fields in the appointment, contact, and task databases.

For more information about these samples and the features they demonstrate, see the Readme.txt file included with each sample.

Other Samples

Visit the Mobile Developer Center for more samples.

How Do I in Smart Device Development

Provides instructions on how to create different types of applications and components.

Windows Mobile Version 5.0 SDK Code Samples

Includes links to samples that illustrate functionality in the Windows Mobile SDK.

Descriptions of Visual Studio Samples

Provides samples that demonstrate applications.

Visual Studio Walkthroughs

Demonstrates how to create different types of applications and components in various programming languages.