Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
.gif)
10/16/2008
This topic shows you how to create an MSN Direct application by using Platform Builder. Once you have created an MSN Direct application, you can start writing application code to process incoming messages and to display the MSN Direct data contained in messages sent to the user.
To create an MSN Direct application
In Platform Builder, open the Workspace project for your portable navigation device (PND) operating-system (OS) design.
On the File menu, choose New Project or File.
Choose the Projects tab, and then choose WCE Application.
In the Project name box, type MSNDirect, and then, in the Location box, choose the directory for your project.
By default, Platform Builder stores the project in a directory immediately subordinate to your OS design directory. For example, %_WINCEROOT%\PBWorkspaces\<OS design name>\<Project name>.
Choose Workspace project, and then choose OK.
In the Feature name box, name your application MSNDirect and choose Next.
This name is used in the Readme.txt file that Platform Builder creates, and is optional.
Choose A simple Windows CE application, and then choose Next.
Choose LOCAL, and then choose Finish.
In the Workspace window, choose the FileView tab.
The FileView tab is the tab on the far right.
Browse through the Projects tree to view the files included in the MSN Direct application.
Right-click Include files, and then choose Add files. Browse to %_WINCEROOT\PUBLIC\SERVERS\SDK\INC and add the following header files to your project:
- DBR701.h
- DBRLib.h
In Source files, double-click MSNDirect.cpp.
In MSNDirect.cpp, type the following include directives under
#include "stdafx.h":#include "DBRLib.h" #include "DBR701.h"Save MSNDirect.cpp.
You are now ready to implement code for MSN Direct services in MSNDirect.cpp.
See Also
Concepts
How to Integrate MSN Direct into a Device
MSN Direct Services Overview
MSN Direct Services Architecture