System Global Function CATCreateExternalObject


CATCreateExternalObject( iClassName,
const iLibPath=0,
const iLibSpec=0,
iArg=0)
Creates a command by instantiating the class that represents it.
Parameters:
iClassName
Name of the class to instantiate to create the command
iLibPath
Pathname of the directory which contains the command executable code
iLibSpec
Name of the library used to retrieve its executable code file. CATCreateExternalObject possibly adds a prefix and a suffix to this name to match the operating system naming convention. For example, the command CD0PRINT is named libCD0PRINT.a with AIX, libCD0PRINT.sl with HP, libCD0PRINT.so with IRIX and SOLARIS, and CD0PRINT.dll with Windows/NT.
iArg
Argument value passed to the class constructor.
Returns:
A pointer to the created object or 0 if an error occured.

This object is included in the file: CATCreateExternalObject.h

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.