Building PODS for Microsoft OS devices

On the Microsoft operating systems, you implement a POD as a Windows .DLL or dynamic link library. After compiling, you place the .DLL in the Pods directory under the M-Business Client installation directory on your handheld PC.

To create a POD for a Microsoft OS device
  1. Use the Visual C++ wizard to create a new .dll project.

  2. Include the file, podsstartupwin.c, in the project.

  3. Add your own files and methods to the project in C and include pods.h, or leverage the helloworld.vcp project file.

    For instructions on locating the sample files, see Downloading and working with the PODS sample files.

  4. Place the compiled .dll in the Pods directory under the M-Business Client installation directory.

    Usually this is \Program Files\AvantGo\Pods.

    Note

    If you want your Microsoft OS code to port to Palm OS without major edits, do not use global or static variables.