From: Igor V. C. <ig...@bo...> - 2006-12-18 11:38:37
|
Hello Gary, I did some modifications on the source of xbase64-3.1.2 and compiled it = to Linux. But I can't read the Memo field. I was looking for the piece of source c= ode that access "DBT" files, because I have 2 files, one is myfile.dbf th= at has some fields: Field -> 0 Type: N Field -> 1 Type: M Field -> 2 Type: N Field -> 3 Type:C And the myfile.dbt that has the "memo" part of the field (field 1). Mayb= e this library dosen't work with this kind of relationship, the .dbf havi= ng a pointer to a memo field that was in another file! I'm right? Here are the modifications to compile this new version on Linux. If want= , I can build a patch: /* "ori" are the original files (without modifications)*/ diff xbase64.h-ori xbase64.h 124a125 > #include <errno.h> diff xbfilter.h-ori xbfilter.h 50a51,52 > #include <errno.h> > diff xbnode.cpp ../../../xbase64-3.1.2/xbase64/xbnode.cpp 1c1 < #include "xbNode.h" --- > #include "xbnode.h" That's it ... Beste regards ... -- ---- ------- -------- ~ Igor Vit=F3rio Cust=F3dio (igorvc) ' v ' PLACA - ENC 03 - UFSCar / / \ \ E-Mail: ig...@bo... / ( ) \ http://www.igor.uni.cc ^ ` ~ ' ^ Linux User: #322156 Gary Kunkel escreveu: > > OK > > Well I think there are some windows compile scripts that you can use to= > compile the library for windows with the Borland C compiler. > > Maybe try that > > |