:: com :: sun :: star :: bridge :: oleautomation ::
- Usage Restrictions
- not published
is the UNO representation of the Automation type SCODE.
SCODE is used to express errors in Automation.
In UNO it could be represented by a
long and therefore a typedef
long to a particular error type would do. But a typedef
cannot be expressed in all language bindings. In the case where no typedefs
are supported the actual type is used. That is, a typedef'd error type would
be represented as
int in Java. The information that the
int is an error type is lost.
When calling Automation objects from UNO the distinction between error type
long is important. Therefore the ::Scode is
declared as struct.
- OOo 1.1.2
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.