C++
#define acdbCurDwg acdbHostApplicationServices()->workingDatabase
File
migrtion.h
Description
This function is deprecated and has been replaced with the global curDwg. It is #defined in migrtion.h for transition purposes only. Include both dbapserv.h as well as migrtion.h in your application. The dbapserv.h header file is needed because it defines acdbHostApplicationServices().
Developers should call acdbHostApplicationServices()->workingDatabase() instead of acdbCurDwg() when they want to refer to the current database.
Note
Anyone who uses acdbCurDwg() or acdbHostApplicationServices()->workingDatabase() will also need to link with acutil15.lib.