几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】compiling with borland c== builder 6 (http://www.dimcax.com/hust/showthread.php?t=15452)

yang686526 2009-05-04 06:04 PM

【转帖】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);


所有的时间均为北京时间。 现在的时间是 04:35 PM.