Programming Guide |
Instantiating a licensed object
int sm_obj_create_licensed(char *object, char *license);
object
The service component to instantiate.license
- The license needed to instantiate the service component.
COM
sm_obj_create_licensed
instantiates a licensed COM service component. Before invoking this function, you must set@app()->current_component_system
toPV_SERVER_COM
. This function first appeared in Panther 5.10.
vars objId, license
license = '0FA372A815960ED56DE037A'
objId = sm_obj_create_licensed
("FAXOCX.FaxManCtrl.1", license)