Creates an object under MTS controlint sm_mts_CreateInstance(char *name);
- Name of object to be created.
sm_mts_CreateInstancecan be used in place of sm_obj_create to create an object that inherits the transaction context from the calling service object.
For more details see CreateInstance method under IObjectContextMethods in the MTS documentation.
Note that this function requires an object context and therefore cannot be used in the constructor of a service component.