Programming Guide



sm_obj_create_licensed

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.

Environment

COM

Returns

Description

sm_obj_create_licensed instantiates a licensed COM service component. Before invoking this function, you must set @app()->current_component_system to PV_SERVER_COM. This function first appeared in Panther 5.10.

Example

vars objId, license

license = '0FA372A815960ED56DE037A'

objId = sm_obj_create_licensed("FAXOCX.FaxManCtrl.1", license)

See Also

sm_obj_delete_id