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