GUIApp: GUI Application with C Engine

Download

Click on the following link to download the example: GUIApp.zip

Click: browse to view the example code.

Description

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() .

Usage

The program is operated using the following commands on the File menu:

  • Calculate Checksum... brings up a file selection dialog. Select a file and the program will calculate and show the file's checksum.

  • View Checksums... shows a list of all the files which have been selected, and their checksums.