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

yang686526 2009-05-05 09:52 AM

【转帖】error writefile when saveas 2004 file
 
error writefile when saveas 2004 file
error writefile when saveas 2004 file
dd 2.03.
vc6.
code:
try
{
odrxobjectimpl<odwrfilebuf> fb;
fb.open( odstring(m_outputfilename) );
pdb->writefile( &fb, oddb::kdwg, oddb::vac18, true );
}
catch (...)
{
msg.format("general exception thrown during audit of drawing [%s]", m_inputfilename );
afxmessagebox( msg );
}
attachment file is table object of autocad lt 2007 sample.
attached files
i have same kind of problem, but error occurs when i try to save mtext-object(s) vac14- or vac18-format, only vac21-format works.
writefile throws exception 揊loating-point underflow?
problem with carriage07.dwg is caused by dd bug.
floating underflow exception occurs if this type of fp exception is unmasked in your application and "very small" number gets zero for example:
double a = 1.e-300;
double b = a * a; // fp underflow;
sergey slezkin
thank you.
i wait for the next release.


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