Click on the following link to download the example: GUIApp.zip
Click: browse to view the example code.
GUIApp is an
example of an GUI application whose engine is written in C.
The engine
is a DLL, produced by project GUIAppEng.mmp, was taken
from the FreeBSD cksum (checksum) utility. The only code
in the project which was not written in C is the following function, defined
in file GUIAppEng.cpp:
EXPORT_C TInt E32Dll(TDllReason)
This fulfils the requirement that all DLLs need an entry point called E32Dll().
The program is operated using the following commands on the File menu: