查看单个帖子
旧 2009-05-07, 04:49 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】ext Style Causes Lockups In Custom Dll

text style causes lockups in custom dll
text style causes lockups in custom dll
hi,
we're having some trouble tracking down a bug in a dll statically linked to the dwgdirect v2.4.2 vc6 libraries.
the module is used in both a visual basic 6 application and a vb.net application. the module usage in both applications are identical, but in the vb6 application we get lock-ups on a particular file. the cause has been tracked down to a single text style + text inserted with this style. a file which causes a lockup has been attached.
i have not been able to reproduce the lockup in any of your demo applications. in our module, the lockup occurs in the opengl device update() function (more specifically odgsbasevectorizedevice::update()).
the inconsistent behaviour leads me to believe this is related to a memory error somewhere, so if a dwgdirect developer could check for errors (e.g buffer overflows) related to this file, i would be grateful.
update: i encountered another file with the same symptom. this was resolved by changing the font style "times new roman" to something else (e.g tahoma). this "fix" also works for the attached file.
attached files
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)