Creating a Project

Build a device application that runs on Windows or Windows Mobile platforms.

  1. From the Visual Studio main menu select File > New > Project.
  2. Select:
    • Target platform:
      • Windows Mobile 5.0 Professional
      • Windows Mobile 6.0, 6.1, and 6.5 Professional
      • Windows
    • Library version – .NET version 3.5
    • Language – the language used in the resource DLLs, to be included in the generated project.

    Different sets of DLLs are included in the project based on your selections. The project contains all assemblies and runtime support DLLs required to access the Object API.

  3. Click OK to generate the Visual Studio Project with the dependent Sybase Unwired Platform .NET assemblies.
  4. Build the Solution. From the Visual Studio main menu select Build > Build Solution.
    The DLLs are copied to the target directory and the directory structure is flattened.
    Once generated and built, you can write custom mobile applications based on your selections.
  5. Develop the mobile business objects (MBOs) that implement the business logic.
    See these online help topics:
    • Sybase Unwired Platform > Sybase Unwired Workspace – Eclipse Edition > Develop > Developing a Mobile Business Object
  6. Use the Code Generation wizard to generate the C# Object API code for the mobile business object.
  7. Add the generated code to the new project you created from the template.
    For more information, see the Rebuilding the Generated Solution in Visual Studio.