Currently i'm moving global document dependent data to the CDocData class. This class currently contains one public member, just a simple interger named test.
When refering to this member, using the simple line of code 'DocVars.docData.test = 1;' AutoCad crashes, stepping through the code using debug mode made us conclude that somewhere in de std::map the CDocData class gets de-structed before it was even returned.
Are you familiar with this problem? If so is there a bug fix ? If not is there an other possible way to make sure the CDocData objects only get destructed when the 'documentToBeDestroyed( AcApDocument *pDoc )' method is called from the AsdkDataManager reactor
When refering to this member, using the simple line of code 'DocVars.docData.test = 1;' AutoCad crashes, stepping through the code using debug mode made us conclude that somewhere in de std::map the CDocData class gets de-structed before it was even returned.
Are you familiar with this problem? If so is there a bug fix ? If not is there an other possible way to make sure the CDocData objects only get destructed when the 'documentToBeDestroyed( AcApDocument *pDoc )' method is called from the AsdkDataManager reactor