Forum Nokia brings us an interesting document which examines the issues involved in porting existing C++ applications from the Windows Mobile platform to the S60 platform and in creating new, highly portable applications that target both platforms.
Porting applications from Microsoft Windows Mobile 5.0 to the S60 platform makes sense, because both platforms are feature-rich and support the latest technologies. But while the native programming language for the two platforms is C++, there are significant differences in the way each implementation handles strings, exceptions and multitasking. Also, each platform has its own specific APIs. While designing Windows Mobile applications, developers can take steps to make supporting the S60 platform much easier. Both platforms support an object-oriented programming language, so a common design is relatively easy to achieve.
The documentation package includes an example application written for the Windows Mobile platform and reimplemented to the S60 platform to illustrate the concepts discussed in the document. You can download it from Forum Nokia’s page.