Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Native Symbian OS EXEs and LIBs vs. OE EXEs and LIBs

The conventional way of defining the entry point for a Symbian OS executable is by including "E32Main" in the application source. Since Symbian OS v9.3, you can define the entry point for an executable by including "main" instead of "E32Main". With this approach, developers may easily port their C/C++ code to Symbian OS platforms with less changes to the original source.

Symbian OS v9.3 and later releases provide an Open Environment (OE) to develop EXEs with the "main" entry point. The OE executables and libraries are identified by their targettype, which can either be STDEXE, STDDLL or STDLIB. An OE EXE may choose to have a wide character entry point using the MMP keyword, wcharentrypoint.

Here is a list of important differences between native Symbian OS executables and OE executables:

The build system has been modified to support compilation of C++ source files with extensions “.cc”, “.cxx” and “.c++”. This change is applicable to both OE and native Symbian OS executables and libraries. That is, from Symbian OS v9.3 onwards a native Symbian OS or an OE executable/library can be built using C++ source files with extensions “.cc”, “.cxx” and “.c++”.