From: Gary K. <gbo...@ya...> - 2006-12-18 14:04:16
|
Hi Igor The library used to read memo fields once upon a time. It still should as I don't think the library has been too hacked up in that regard. There is some documentation included with the library that describes how DBT files are laid out at a low level, maybe that will help you. Best regards Gary Igor Vitorio Custodio <ig...@bo...> wrote: 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 code that access "DBT" files, because I have 2 files, one is myfile.dbf that 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). Maybe this library dosen't work with this kind of relationship, the .dbf having 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 diff xbfilter.h-ori xbfilter.h 50a51,52 > #include > diff xbnode.cpp ../../../xbase64-3.1.2/xbase64/xbnode.cpp 1c1 < #include "xbNode.h" --- > #include "xbnode.h" That's it ... Beste regards ... -- ---- ------- -------- ~ Igor Vitório Custódio (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 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ XDB-users mailing list XDB...@li... https://lists.sourceforge.net/lists/listinfo/xdb-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |