Btrieve is a transactional database based on Indexed Sequential Access Method. Developed in 1982 by SoftCraft the latest version available is 7.0. The company later got renamed to Pervasive and they also launched and RDBMS with that name. Btrieve was popular with Novell and Windows platform and mostly seen used with a programming language like Magic.
Questions tagged [btrieve]
42 questions
3
votes
1 answer
Memory alignment of struct variables for p/invoke - Strings lose the last character
I am trying to read records from a Btrieve (v6.15) database by using btrieve API from C# code via P/Invoke.
I have managed to read records, however last character of strings are cropped while reading. If I increase the string size in my data struct…

Eren
- 33
- 5
2
votes
1 answer
Determining the start and end range of bytes changed in a file
I'm working on a little experimental utility to use within our company that indexes notes stored in our custom CRM software for full-text searching. These notes are stored in a Btrieve database (a file called NOTES.DAT). It's possible to connect to…

David Brown
- 35,411
- 11
- 83
- 132
2
votes
1 answer
I have old .DTA Files and .DDF Files... now what?
First time poster here, so be gentle...
I am completely stuck, I have been given the task of importing some old .DTA files into tables in SSMS so we can run queries off of them. Being brand new to .dta formats, I did some digging and this is the…

MichelleSQL
- 21
- 2
2
votes
1 answer
Access Pervasive/Btrieve DB (DDF + DAT files) from Java
I have a folder with *.DDF and *.DAT files that are a pervasive/btrieve database. I am able to open and see the content of the database with DDF Periscope (ddf-periscope.com).
I can export data from each table individually using ddf periscope, and I…

Matt
- 556
- 8
- 31
2
votes
1 answer
Btrieve (file) owner problems
I've been tasked with exporting a bunch of tables from a Btrieve (Pervasive) database but one of the tables is putting up a fight. I'm using the Pervasice Control Centre but when I run a SELECT * FROM I get this error:
ODBC…

Jonas Rembratt
- 1,550
- 3
- 17
- 39
1
vote
3 answers
Btrieve without Pervasive?
Is there any library available to query Btrieve databases without buying something from Pervasive? I'm looking to code in C# or Python.

Gabe
- 84,912
- 12
- 139
- 238
1
vote
1 answer
Pervasive PSQL 10 Database to MS SQL Server?
I want to migrate a Btrieve Database to Microsoft SQL Server 2008 R2. I already have done the step of migration to Pervasive PSQL 10 Workstation (x86), which offers an ODBC / OLE DB driver. (It seems Microsof doesn't offer any solution to import…

DiableNoir
- 644
- 1
- 8
- 20
1
vote
1 answer
ACCESS_VIOLATION calling Btrieve BTRCALL function from Rust
I am attempting to call Btrieve (a very old database engine) from Rust.
This is a bit long, but this is my first attempt at FFI from Rust and
I wanted to describe everything I have done.
The Btrieve engine is implemented in a DLL, w3btrv7.dll, which…

Philip Daniels
- 994
- 1
- 7
- 25
1
vote
1 answer
How to convert a bunch of .btr and .lck files to a readable SQL?
I have a bunch of .btr and .lck files and I need to import those to a SQL Server Data Base.
How can I do that?

Keyne Viana
- 6,194
- 2
- 24
- 55
1
vote
0 answers
Btrieve record Locking issue
I am experiencing a file contention issue I believe is related to increased user load.
My system specifications:
VB.net UI/NetCOBOL
business logic/Btrieve
file access using a Pervasive DB.
I am seeing record locking between users who are…

Kevin Merrill
- 11
- 1
1
vote
2 answers
Btrieve Date Integer
this is my question:
I'm migrating data from a Btrieve file (.dat) through Pervasive Control Center and there is field type which is defined as integer but is a date and for example the date '31/12/2009' (seen in the legacy system) is view it as the…

Nelson Miranda
- 5,484
- 5
- 33
- 54
1
vote
1 answer
Reading .btr file using VB.Net
I need to import data from a .btr file (text.btr) to Access database using VB.net. I searched in google but didn't find any solution for this.
Any help would be highly appriciated.
Thanks, Yogi

Yogi
- 233
- 5
- 19
1
vote
1 answer
Betrieve access to data without DDF
I would need help to access data from Betrieve files.
Persasive ODBC driver need a DDF file that define the "schema" for each table, my problem is that DDF file not exist.
The QBasic code that I should migrate to C#, make a substring functions and…

Nicolas Dominguez
- 11
- 1
1
vote
1 answer
Writing a replacement for a C DLL?
I'd like to write a very simple replacement for w3btrv7.dll so I can pass Btrieve API calls to another library (written in .NET and called via COM). Basically, I need to mimic the signature of the BTRCALL function in C. However, I'm not a C…

David Brown
- 35,411
- 11
- 83
- 132
0
votes
1 answer
BUTIL -CLONE gives invalid filename error
So I have a corrupt .btr file (filename is FINAN.BTR) that I'm trying to recover.
This is possible by using the following commands:
BUTIL -CLONE CORRUPT.NEW CORRUPT.BTR
BUTIL -COPY CORRUPT.BTR CORRUPT.NEW
REN CORRUPT.BTR CORRUPT.OLD
REN CORRUPT.NEW…

Mr_BananaPants
- 47
- 1
- 5