高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】compiling with borland c== builder 6
compiling with borland c++ builder 6
compiling with borland c++ builder 6
i'm trying to compile and run the odcopyex example project with borland c++ builder 6 and dwgdirect 1.08. it compiles and runs with no errors but in every case it writes our 0 byte output files. is dwgdirect 1.08 known to be compatible with c++ builder 6?
[ august 12, 2003: message edited by: kerry ]</p>
we tested the borland build of dd 1.08 and it worked ok (including odcopyex).
in that case i must have something configured wrong. could i get a copy of the project file (*.bpr file) that you used to test odcopyex?
i just discovered something. if i change odcopyex so that it writes out using this it works:
if (filetype==oddb::kdxf) {
pdb->writefile(&fb, oddb::kdxf, outver);
} else {
pdb->writefile(&fb, oddb::kdwg, outver);
};
however using this line instead of the above will always write-out 0 byte files:
pdb->writefile(&fb, filetype, outver);
|