I receive an intermittent 'Invalid Page Fault' when accessing the Btrieve engine from a VB5 project.
I am using the 1996 version of the Btrieve WBTRV32.DLL
Funnily enough, the error doesn't just happen on the actual BtrCall calls, it often happens on an End Sub and various other places.
Changing the ByVal's in the actual call has an effect. However, I have not been able to find a combination that totally eliminates the problem.
The fault does not necessarily happen the first time the code is run. Sometimes it takes 12 runs for it to happen. Once it took 44 times.