Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Filer 5.41 Continued

3 views
Skip to first unread message

BTree

unread,
Sep 23, 2002, 7:51:17 PM9/23/02
to
This is a continuation of the posting I made last week...
My current project requires that I read a B-Tree 5.41 database, since other
apps will
continue using the database, I have to keep the 16 bit environment.
I still don't have any documentation, I was able to get most of the files I
needed,
such as DOS.PAS.
By creating a Delphi 1 project, and including Filer, I was able to finally
get
a clean compile.
I have the source code that opens, reads, closes the database, but the
program
is HUGE, and I can't figure out how it knows what my database is. I know
that
I am missing a lot of the source files, is there an INC file or something
that has
the database alias or name/path? How do I open a database called
CUSTOMER.DAT?
Does anyone have a really simple program that just opens a database, reads a
record,
maybe does a write? If I can see how this is done, and see all the files it
takes
to do it, I'll be well on my way. The few samples I've looked at were
inter-twined
with other stuff, and I keep getting lost...If there's a Delphi example,
that would be
even better.
Thank you very much for your help.
Andy

Rob Roberts [TPX]

unread,
Sep 24, 2002, 10:25:14 AM9/24/02
to
Andy,

> I still don't have any documentation...

B-Tree Filer v5.4x came with a DOS help system. It consists of two programs
called MAKEHELP and POPHELP, along with a bunch of text files. MAKEHELP is
used to compile the text files into a help file, and then POPHELP is a TSR
that is used to display the help file. Whether it will work under Windows,
I really don't know. (All of the help stuff is contained in file
BTFHELP.LZH.) I think that most of the Filer v5.41 functions and procedures
are the same as the v5.55 ones. It might be worth the cost of v5.55 just to
get the manual and Windows help file.

> How do I open a database called CUSTOMER.DAT?

B-Tree Filer fileblocks are opened by calling BTOpenFileBlock. Search the
source code for calls to BTOpenFileBlock, and that will show you where your
data files are being opened up.

> Does anyone have a really simple program that just opens a database,
> reads a record, maybe does a write? If I can see how this is done, and
> see all the files it takes to do it, I'll be well on my way.

B-Tree Filer v5.4x came with an example program called NetDemo. It shows
how to create and open fileblocks, and add, delete, and modify records.

> If there's a Delphi example, that would be even better.

Filer v5.5x has a Delphi example program called DelDemo, but v5.4x only has
the NetDemo DOS example program.

--Rob [TPX]


0 new messages