• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1046
  • Last Modified:

BTRIEVE RECORD MANAGER v4.11b - QuickBasic BTRV call?

I'm trying to hunt down BTRIEVE RECORD MANAGER v4.11b suite.  I am trying to understand a program that was written in QuickBasic.

In the program I can see where the programmer has set his types to match the fields in the BTR files, but what I don't understand is a CALL in the program called BTRV ().  The () being full of variables.  From what I have been able to find on the BTRV is that it is a microsoft floating "something".  Which is odd, because you can install the compiled program onto any windows based system just by copiing the program into any directory of your choice and it works fine.  However, when I goto try and recompile the program from the source code that I have in QB, I get a "CALL BTRV NOT DEFINED" error.  

Anyway, I am thinking that if I was to get the version of BTRIEVE that the program was written for, this would help.  I am also looking into creating DDF's.  But if I can get the BTRV call to work, then I can use QB to write to the flat file.

Anyone got a good idea?
0
B0o_1999
Asked:
B0o_1999
1 Solution
 
mirtheilCommented:
Good luck finding Btrieve v4.11.  The oldest version of Btrieve I've worked with is v5.10 and it was released in 1990.  There is a current version of Btrieve called Pervasive PSQL v10 and it's available at http://www.pervasive.com.

As far as the BTRV call, it's the same as it was back in the v4.11 days so you can take a look at the call documentation at http://www.pervasive.com/library/docs/psql/10/btrieveapi/btrieveapi-2-3.html

When you try to recompile the program, it's looks for the Btrieve library. The DOS library isn't included in the Btrieve SDK any more but if you know the record structure you could write a new program in C/C++, Delphi, VB, or even COBOL to access the Btrieve API from a Win32 perspective (with the v10 engine).  You could also create DDFs then use ODBC, OLEDB, or ADO.NET to access the data (again with the v10 engine).
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now