查看单个帖子
旧 2009-05-07, 04:00 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】singledoc Crashes And Zoom Does Not Happen

singledoc crashes and zoom does not happen
singledoc crashes and zoom does not happen
hi
we have implemented our dwg viewer similar the way singledoc implemented. our application and even singledoc crashes for the attached two files. even odvectorize_ex also fails.
the exception is thrown during
odabstractviewpeptr(pview)->zoomextents(pview);
do we have the fix for this?.
also in our application we captured this exception and were able to view, but zoom is not happening.
zoom fails exactly at this statement odgsbasevectorizeview::update(); .
do we have fix zoom ?
attached files

what version of dwgdirect you are use?
we are using dwgdirect-2.04.02 version.
we also have dwgdirect-2.06.03, but currently we are not using in our implementation. we are waiting for dwgdirect-2.07.

i test attached drawings with latest version (2.7.1 production) and not have exceptions or crashes in signledoc.
2.7.1 production (windows only) posted to outgoing (for other platforms will be posted soon). you can download and test your application with it.
some bugs with extents calculations, text processing and rendering are fixed after 2.4.2.
thank you amark,
i verified their sample application works fine in 1.14 and 2.06, but in 2.04, they crashes.
since we are in 2.4, i would like to know, can we have a work-around atleast for this issue. if nothing can be done, then we are bound to go with library updation.

unfortunately, this is not simple to suggest any workaround for 2.4.2, because some changes and modifications which affects onto zoom extents behaviour was performed after this release
i recommend to use 2.7.1 instead of 2.4.2
last edited by amark; 22nd january 2009 at 03:41 amfff">.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)