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