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

yang686526 2009-05-04 06:28 PM

【转帖】crash in gedbl.cpp
 
crash in gedbl.cpp
crash in gegbl.cpp
i get an "invalid execution" exception from gegbl.cpp at line 24. i get this in multiple places and it appears when i'm working with blocks. this code was working fine in 2.04. any idea whats changed?
thanks,
tyler
last edited by tillerstarredwards; 18th december 2007 at 08:08 amfff">.
isolated it to this function
i have a "preview" device that i use to render a block into a cdc. i use this function to make it fit into the space provided... and it is what is tossing that exception.
odabstractviewpeptr(pview)->zoomextents(pview);
i went to the trouble of trying to reproduce in odamfcapp, but discovered my error instead...
odabstractviewpeptr(pview)->zoomextents(pview); seems to now throw an exception when the device rect width is zero.
thanks,
tyler
tillerstarredwards


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