The first step is to create a new ATL project and modify its settings so that it is ObjectARX-compatible.
extern "C" AcRx::AppRetCode acrxEntryPoint(AcRx::AppMsgCode msg, void* appId) { switch(msg) { case AcRx::kInitAppMsg: acrxRegisterAppMDIAware(appId); break; case AcRx::kUnloadAppMsg: break; default: break; } return AcRx::kRetOK; }
You will also need to add the appropriate settings to the project and export the following symbols in the definition (DEF) file:
acrxEntryPoint acrxGetApiVersion