查看单个帖子
旧 2009-05-06, 09:00 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odinitialize fails the second time using dwgdirect 2.3.0 on

odinitialize fails the second time using dwgdirect 2.3.0 on
odinitialize fails the second time using dwgdirect 2.3.0 on macintosh
when calling odinitialize a second time after oduninitialize was called then
odinitialize aborts on the macintosh using dwgdirect 2.3.0 and xcode 2.3
this works perfectly on windows and vs2003. when reading a dwg file,
i call odinitialize before the reading and then oduninitialize afterwards.
the only way to solve this problem currently is to call odinitialize and
oduninitialize only once when the application starts and ends. this works.
why is it aborting on the macintosh? could this be a bug?
thank you very much for your help.
i am in the process of upgrading from dwgdirect 1.13 to 2.3.0 and i have exactly the same problem.
however, i am using borland c++ builder v6. have any other borland users successfully upgraded to this version?

second odinitialize crashes also on linux
hi,
i have the same problem when moving from 2.2.0 to 2.3.0 on linux. is there a solution?
regards.
peter
there is a bug in dd uninitialization on non-windows platforms.
it will be fixed in 2.3.1
vladimir
will this help me with the same problem using borland?
i know there are other problems with borland, but it would be a good start to have this one fixed.
>will this help me with the same problem using borland?
yes
vladimir
quote:
originally posted by wvk
>will this help me with the same problem using borland?
yes
good news - thanks.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)