查看单个帖子
旧 2009-05-05, 09:52 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)