高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|