几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】first-chance exception (http://www.dimcax.com/hust/showthread.php?t=16322)

yang686526 2009-05-05 10:59 AM

【转帖】first-chance exception
 
first-chance exception
first-chance exception
hi,
i am writing my own dwgviewer application based on odamfcapp. while closing my application i got one exception.
first-chance exception at 0x7c812aeb in dwgviewer.exe: microsoft c++ exception: oderror at memory location 0x0012ece4..
any chance to remove this exception
thanks
rajeev
use oderror::description() to the text description of the exception.
before closing the application you should
1. be sure that all oddb* objects are destroyed. smart pointers pointing to them prevent the objects from being destroyed. smart pointers should go out of scope or should be set to null value. in that case their destructors or assignment operators will release the oddb* objects).
2. call oduninitialize().
sergey slezkin


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