Creating an MSN Direct Application

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

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

  1. In Platform Builder, open the Workspace project for your portable navigation device (PND) operating-system (OS) design.

  2. On the File menu, choose New Project or File.

  3. Choose the Projects tab, and then choose WCE Application.

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

  5. Choose Workspace project, and then choose OK.

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

  7. Choose A simple Windows CE application, and then choose Next.

  8. Choose LOCAL, and then choose Finish.

  9. In the Workspace window, choose the FileView tab.

    The FileView tab is the tab on the far right.

  10. Browse through the Projects tree to view the files included in the MSN Direct application.

  11. 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
  12. In Source files, double-click MSNDirect.cpp.

  13. In MSNDirect.cpp, type the following include directives under #include "stdafx.h":

    #include "DBRLib.h"
    #include "DBR701.h"
    
  14. 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