Share

acrxRegisterServices

Description

Functions

Function Description
acrxRegisterService This function is a "C" code wrapper for:AcRxService *srvcObj = new AcRxService;acrxDynamicLinker->registerService(serviceName, srvcObj);which creates, fills in, and adds an AcRxService object to the ACRX Service Dictionary with the key serviceName, thus registering a service identified as serviceName. The newly created AcRxService object is returned by the void*.When the application that registers the service unloads, it should remove the service registration in the following manner:delete acrxServiceDictionary->remove(serviceName);which removes the AcRxService object from the service dictionary and deletes it.Note acrxRegisterService() registers services for whatever ARX program was most recently loaded into AutoCAD. The... more
acrxRegisterService This function is a "C" code wrapper for:AcRxService *srvcObj = new AcRxService;acrxDynamicLinker->registerService(serviceName, srvcObj);which creates, fills in, and adds an AcRxService object to the ACRX Service Dictionary with the key serviceName, thus registering a service identified as serviceName.When the application that registers the service unloads, it should remove the service registration in the following manner:delete acrxServiceDictionary->remove(serviceName);which removes the AcRxService object from the service dictionary and deletes it.Note acrxRegisterService() registers services for whatever ARX program was most recently loaded into AutoCAD. The only time that you can be sure your application is the... more

Was this information helpful?