查看单个帖子
旧 2009-05-05, 09:55 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】exception during writefile

exception during writefile
exception during writefile
odwrfilebuf fb(completefilename);
oddb::savetype filetype = oddb::kdwg;
oddb:wgversion outver = oddb::vac15;
try
{
_pcurrentdatabase->writefile(&fb,filetype,outver,true);
}
catch(oderror &error)
{
odstring strdes = error.description();
odresult result = error.code();
}
the _pcurrentdatabase is populated with 2-d and 1-d data. writefile throws an error and the decription is "previous error: ". oderesult = eendoffile. what is going on here? any help will be appreciated.
what is the call stack when the exception is thrown?
vladimir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)