![]() |
【转帖】problem with loading extended data
problem with loading extended data
problem with loading extended data when trying to read many files which contain extended data, i get an exception: 00cef5c3 ___org_memcpy 00b5baff oddbobject::setxdata 008ad238 oddbmtextimpl::composeforload 009e1f65 oddbblocktablerecordimpl::composeforload 00a0effc oddbsymboltableimpl::composeforload 00727e0b oddbdatabaseimpl::dbcomposeforload 007133af convertdatabaseto 00a8ef43 oddbdatabase::readfile 00a8eaa4 oddbhostappservices::readfile 0041fcd5 oddbhostappservices::readfile(this=:0012fe10, filename=:01312214, ballowcpconversion=false, bpartial=true, shmode=64 /* oda::ksharedenyno */, password=:0012fda8) 0041fbe4 exhostappservices::readfile(this=:0012fe10, filename=:01312214, ballowcpconversion=false, bpartial=true, shmode=64 /* oda::ksharedenyno */, password=:0012fda8) 00401473 main(argc=2, argv=:013121d0) to get as much of the information as i can i do a "partial" read, then catch the exceptions and continue with other entities. this only helps with dwg. i was able to make a dxf file fail by adding only a 1001 and 1070 group. is it possible to load the entity data even if the extended data might have an error? (is this really an extended data error?) (these files load ok in intellicad, which i think uses the legacy toolkit.) attached files what code are you using to read this? i am unable to reproduce this using the sample programs. i used the examples\odreadex app from the 1.10 (same with 1.09) dd_nonlibs.zip file, built using borland c++ builder on a pc. attached files (2.1 kb, 7 views) works with visual c 2003, fails with borland c++ this does seem to be borland specific. i tried building the odreadex sample program with visual 2003, and it did run fine. unfortunately, our application is using borland c++ builder... help i really need help with this. can someone try to debug this with the borland libs? i don't have any workaround, and i can't release a translator that fails on so many cases. thanks.. i promise - we'll help you out first thing in the morning on this .. dave, thank you. there were two bugs. the first bug was borland specific one. the second one hapened in any case. the both bugs have been fixed. misha kuzinets great! any idea when the fixes will be available (borland libs)? maintenance release is planned by the end of next week. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 05:32 PM. |