![]() |
【转帖】need help with an asser
need help with an assert
need help with an assert i've embedded dwgdirect into a com object that my application uses, and everything is fine the first time i create one, fill it with elements, write it out, and get rid of it. the second time i create an instance while the program is running, however, i am getting this assert when calling odinitialize: assertion failed! program: c:\alpsrc\ais\debug\ais.exe file: source\database\acadmodule.cpp line: 136 expression: s_pdwgclassmap == 0 i did not have this problem back when i was using opendwg in the com object. i'm calling odinitialize in the object constructor, and oduninitialize in the object destructor. found the problem i searched through the discussion threads again, and came upon a similar problem. it indicated it was fixed in dwgdirect 1.11, and it does, in fact, appear to work now. |
所有的时间均为北京时间。 现在的时间是 06:36 AM. |