Hi, expert,
I write a DBX module, create a custom entity in it. Then I create and export some functionality in a utility namespace to help caller to create and post the entity instance to DWG.
I have to new a AcDbDatabase instance and call readDwgFile to copy some blocks to the current working database.
ACAD pops a "DBX CAS 4" error on calling AcDbDatabase::readDwgFile(). But if I move the utility funcions to another arx module, the error doesn't occur. The problems is I really saw some code calling readDwgFile in DBX module and no error occurs. I don't know whether I have missed something.
I found some articles about the security and licence of the DBX but they don't talk about the resolution. (http://discussion.autodesk.com/thread.jspa?threadID=561061)
Forgive you for my reluctance of doing more research. Maybe there will be someone can tell me the resolution with one or two words. ^_^
Thanks,
Jerry