Is there any library available to query Btrieve databases without buying something from Pervasive? I'm looking to code in C# or Python.
3 Answers
If you download one of the trial versions, you can get/install the odbc client and connect that way.
In our version of pervasive (older version) on the server where the database is installed, you can also find this client install.

- 1,029
- 2
- 10
- 16
As far as I know that is not possible. It is not an open source database, so writing drivers for it is really hard.

- 4,343
- 21
- 35
This depends a lot on the version of Btrieve. I've been working with btrieve for a long time and have found that the best API for the old 6.15 version was in pascal. That having been said there was definately a C api around as well.
Pervasive have recently released a 6.15 ultimate patch. Using this and the C api should allow you to work effectively with older btrieve databases. It is possible for instance to build new modules for python using C.

- 1,648
- 14
- 24