查看单个帖子
旧 2009-05-04, 06:04 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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-&gt;writefile(&fb, oddb::kdxf, outver);
} else {
pdb-&gt;writefile(&fb, oddb::kdwg, outver);
};
however using this line instead of the above will always write-out 0 byte files:
pdb-&gt;writefile(&fb, filetype, outver);
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)