Examples for Open C Libraries |
This example demonstrates how to use Open C APIs for developing applications that use Open C standard libraries on top of Symbian/S60. This example is a DLL that exports some set of generalized APIs using, which the user can create or close message queues and send/receive messages. The user can also, get information on created message queues.
TARGET OpenCMessageQueueLibrary.dll TARGETTYPE DLL UID 0x1000008d 0xA0001319 CAPABILITY NONE //CAPABILITY ALL -TCB VENDORID 0 EPOCALLOWDLLDATA SOURCEPATH ..\src SOURCE MsgQCheck.c SOURCE MsgQClean.c SOURCE MsgQCreate.c SOURCE MsgQDelete.c SOURCE MsgQMaxCheck.c SOURCE MsgQRecv.c SOURCE MsgQSend.c SOURCE MsgQInternals.c USERINCLUDE ..\inc SYSTEMINCLUDE \epoc32\include // These are needed for including Open C headers SYSTEMINCLUDE \epoc32\include\stdapis LIBRARY libc.lib LANG SC