1. Modify the incrude directory and lib directory
2. Modify Project Settings (1) Link-> General, modify the object / library module (2) link-> Output, remove the root path, enter the point symbol (3) C -> General, modify the preprocessor definition
3. Add the corresponding header file (available from the Object ARX 2002 SDK) to Stdafx.h).
4. Find the way in the program to open objects, Upgradeopen place, plus acad :: ErrorStatus ES_LOCKDOC = ACDOCMANAGER-> LOCKDOC = ACDOCMANAGER-> LOCKDOC = ACDOCMANAGER-> LOCKDOC = ACAP :: kWrite; if (es_lockdoc == acad :: EOK ACDOCMANAGER-> UNLOCKDocument (curdoc ());
5. Modify some of the function names (such as AcedSetCurrentView, etc.) and add some headers (such as Migrtion.h, dbapserv.h, etc.)
6. If the DLL is called, the DLL also needs to be modified, recompile.