几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】oderror-duplicaterecordname (http://www.dimcax.com/hust/showthread.php?t=17647)

yang686526 2009-05-06 08:27 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 12:31 AM.