This level of compatibility provides the minimal requirements for an ObjectARX application to function in an MDI environment without failing. An ObjectARX application must meet the requirements of this level of compatibility before being able to legitimately set the SDI system variable to 0. The following list summarizes the minimum requirements.
- Applications cannot keep per-document data in global or static variables.
- If a command is executed from the application context, it must provide explicit document locking.
- AutoLISP-registered commands must be prepared to act within multiple AutoLISP states.
- Applications must register themselves as MDI aware during their AcRx::kInitAppMsg handler in acrxEntryPoint().
Each requirement is described in detail in the following sections.