Usage Information - Type Library Objects
Type Library Objects are objects returned by theImportTypeLib() function. They are used to manage the loaded type library.
Retrieving a GUID
TheGetGUID() method can be used to obtain a GUID for the type library itself or for any contained type.
guid := ITL_TypeLibWrapper.GetGUID([obj = -1, returnRaw = false, passRaw = false])
Parameter
| obj |
Represents the object to retrieve the GUID for. If omitted or set to -1, the GUID for the type library itself is returned. Otherwise, it can be set to
|
| returnRaw |
If set to true, the GUID is returned as memory pointer. Otherwise (default behaviour), it is returned as string.
|
| passRaw |
Not commonly used: To pass a raw ITypeInfo pointer for the obj parameter, this must be set to true (to distinguish the pointer from an index).
|
Returns
The return value is usually a string representing the GUID, unless thereturnRaw parameter has been set to true, in whch case a memory pointer is returned.