Examples for Open C Libraries |
This example illustrates how to get started with development using Open C and main() as an entry point for the application. The application writes "Hello Open C" to the console
TARGET openchello1.exe TARGETTYPE exe UID 0x100039CE 0xA0001314 VENDORID 0 SOURCEPATH .. \data START RESOURCE openchello1_reg.rss #ifdef WINSCW TARGETPATH \private\10003a3f\apps #else TARGETPATH \private\10003a3f\import\apps #endif END //RESOURCE SOURCEPATH . .\src SOURCE openchello1.cpp USERINCLUDE . .\inc SYSTEMINCLUDE \epoc32\include\stdapis SYSTEMINCLUDE \epoc32\include // Using main() as entry point STATICLIBRARY libcrt0.lib // libc and euser are always needed when using main() entry point LIBRARY libc.lib LIBRARY euser.lib // No capabilities needed by this application CAPABILITY None