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

oderror_duplicaterecordname
oderror_duplicaterecordname
hello forum,
i usually get a "first chance exception oderror_duplicaterecordname" when i open a dxf with odamfcappdll 2.6.1.
please would it be possible to "hide" it ?
thank you in advance.
regards,
jerome
while opening r12 files duplicaterecordname exception occurs but it is handled inside readfile() function. it's normal situation. to "hide" it set in your debugger option to stop on c++ exceptions only if they are not handled.
in vc - debug/exceptions...
thank you sergey for your answer but since our team works with "break when an exception is thrown", would it be possible not to throw an exception in your code please ?
thank you in advance to study this demand.
no it's impossible. dwgdirect uses exceptions not only to signal error to client code. and duplicaterecordname while loading r12 files is not the only situation when exception is thrown and handled by dd internally.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)