Message Service Clients for C/C++ and .NET, Version 1.2
Operating Systems: Linux, Windows
Writing XMS applications
in C
This section provides
information that you might find useful when writing XMS applications
in C.
The section contains
the following topics:
Sub-topics
Object handles in C
A C application uses an object handle to access an object. There
are two kinds of object handle. One kind of object handle has a data type
that is related to the type of the object, and the other kind is a generic
object handle whose data type is not related to the type of the object.
Getting and setting properties in C
A C application uses the functions in the PropertyContext class
to get and set the properties of objects.
Handling errors in C
Most functions in the C API return a value that is a return code,
and have an optional input parameter that is a handle for an error block.
This section describes the respective roles of the return code and the error
block.
Using message and exception listener functions in C
A C application uses a message listener function to receive messages
asynchronously, and an exception listener function to be notified asynchronously
of a problem with a connection.