查看单个帖子
旧 2009-05-04, 04:15 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】assert thrown in odvectorizeex sample

assert thrown in odvectorizeex sample.
assert thrown in odvectorizeex sample.
hi,
using dwgdirect 1.12.04, i compiled the samples, including odvectorizeex, odmfcapp, singledoc, as well as creating my own rendering application.
i have noticed that when i try to render the attached dxf file in my application, i get an assert error, and then the application terminates. when i open the .dxf file in singledoc, i don't get the error, and when i open it in odmfcapp, the error occurs rarely.
i then opened the .dxf file in odvectorizeex, and the assert is generated everytime with the following error:
assertion failed: invalid execution.
file: source\ge\gehatch.cpp
line: 1830
can you please tell me why this assert is occuring, and how i can overcome it in odvectorizeex. the drawing opens fine in volo view express.
regards,
sijmen.
attached files

dear sijmen,
this assert was added to gehatch.cpp to signalize potential internal problems. this is an internal assert, it usually fails in case incorrect hatch boundary data. release version of dd doesn't have assertion checks, so you won't notice it in release build.
1.13 code doesn't have any problems with this file. 1.13 is going to be released in next few days.
sincerely yours,
george udov
it now works with version 1.13.
thanks,
sijmen.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)