![]() |
【转帖】oddbblockreference explode crash
oddbblockreference explode crash
oddbblockreference explode crash version dwgdirect 2.6.1. it seems if a oddbblockreference is exploded and it contains a oddbproxyentity, i get an assertion failed!. dbproxyentity.cpp line1078. expression: invalid execution. the call is: if (pent->explode(entityset) == eok) where pent iskindof(oddbblockreference) and entityset == odrxobjectptrarray. in the locals debug window entityset ->m_pdata = oderror_notthatkingofclasscontect 'rtti type descriptor'. if this is a c++ exception, how do i catch it so my app doesn't crash causing my customer to lose data? thanks al assertion is simply notification about some unexpected situation in debug build. it's absent in release. you can ignore it. (the assertion you mentioned means that some unknown primitive presents in proxy entity graphic data). in debug build of mfc application assertion simply shows a message box. in console application it's default implementation terminates the program but you can substitute your own implementation of assert function. see diagnostics.h odsettracefunc(), odsetassertfunc() c++ exception is not related to assertion. it can be handled by try-catch construction. see for example dbfiller.cpp from odwriteex sample (search for "oderror"). btw, if you have c++ exception from explode, could you post a sample file? the reason of exception may be invalid data in file or a bug in dwgdirect. sergey slezkin last edited by mmuratov; 24th july 2008 at 06:03 amfff">. thanks for the reply. the file i have been using are my personal house plans. i'd rather not post them publicly. is there a private area i can post the dwg to? thanks, al the process of entering defects and uploading attachements is described here: (from the home page - oda member area / bug reporting and tracking) sergey slezkin well, since the plans are confidential, and i am only a lowly associate member, i guess this problem will go unsolved. |
所有的时间均为北京时间。 现在的时间是 12:09 AM. |