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

yang686526 2009-05-05 08:06 AM

【转帖】dwg reading exception
 
dwg reading exception
dwg reading exception
hi,
i use the latest version of dwgdirect(2.04.01). when i use it to read the dwg file(k22.8.05a.dwg) some assertion(debug) was thrown, and nothing was read.
but the pre-version(2.01.01) work well.
can somebody help me?
thank you very much.
attached images
assertion is a diagnostic message to inform about some unexpected situation. it's absent in release configuration.
in debug it can be ignored. but default (c run-time) implementation for console applications terminated the program.
you can use odsetassertfunc() (diagnostics.h) to substitute your own function and avoid program termination.
in particular case you described the reason of assertion is incorrect diagnostics (occurs only in vc6 seems to be caused by compiler bug). you can ignore it.
sergey slezkin
thank you very much
thanks! i will follow your advice.
btw
ziyueban is my username of this forum. i have change my email address several days before. but there is no any assert mail was accept untill now, so i register new on (caxa-ziyueban) to say thanks for your advice.


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