S60 Open C
Examples for Open C Libraries

Examples for Open C Libraries

Table of Contents

Message Queue Library
MMP File for Message Queue Library
Source Code for Message Queue Library

 


Message Queue Library

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.

 


MMP File for Message Queue Library

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

 


Source Code for Message Queue Library

Go to this location \nokia_plugin\openc\s60opencex\opencmessagequeuelibraryex to view the source code for this example.

NOTE: This code has been tested on Carbide.

Give feedback of this article


Back to top
 

Copyright ©2008 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user.