wcharentrypoint

wcharentrypoint

Use wcharentrypoint statement to specify that the entry point for a standard EXE is wide character (wmain). Otherwise, the default entry point for a standard EXE is narrow character (main).

This enables the toolchain to include either of the following libraries based on the type of entry point:

  • libcrt0.lib — To support the narrow character entry point, if wcharentrypoint statement is not included in the .mmp file.

  • libwcrt0.lib — To support the wide character entry point, if wcharentrypoint statement is included in the .mmp file.

The wcharentrypoint statement is supported only on ARM ABI and Symbian emulator compliant platforms, such as, ARMv5, ARMv5_ABIv2, GCCE and WINSCW.