// Arx entry point function // AcRx::AppRetCode acrxEntryPoint(AcRx::AppMsgCode msg, void* appId) { switch (msg) { case AcRx::kInitAppMsg: acrxDynamicLinker->unlockApplication(appId); acrxDynamicLinker->registerAppMDIAware(appId); gpEdReac = new AsdkNODEdReactor(); acedRegCmds->addCommand("ASDK_CLONENOD_TEST", "ASDK_NODSETUP", "NODSETUP", ACRX_CMD_TRANSPARENT, setup); break; case AcRx::kUnloadAppMsg: clearReactor(); acedRegCmds->removeGroup("ASDK_CLONENOD_TEST"); delete gpEdReac; } return AcRx::kRetOK; }
// Arx entry point function // AcRx::AppRetCode acrxEntryPoint(AcRx::AppMsgCode msg, void* appId) { switch (msg) { case AcRx::kInitAppMsg: acrxDynamicLinker->unlockApplication(appId); acrxDynamicLinker->registerAppMDIAware(appId); gpEdr = new AsdkEdReactor(); acedRegCmds->addCommand(_T("ASDK_NOTIFY_TEST"), _T("ASDK_WATCH"), _T("MODWBLOCK"), ACRX_CMD_TRANSPARENT, modifyWblock); break; case AcRx::kUnloadAppMsg: clearReactor(); acedRegCmds->removeGroup(_T("ASDK_NOTIFY_TEST")); delete gpEdr; } return AcRx::kRetOK; }