Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Migrating Btrieve 6 app to Betrive 7

Status
Not open for further replies.

Fleabit

Programmer
Nov 16, 2002
14
US
I have a commercial app that runs on Btrieve 6.15. I have installed Pervasive SQL 2000i on my network and am trying to get the app to use Btrieve 7. The app keeps the Btrieve 6 exe file and its 2 dll files in its own directory so any changes to the system directories on 2000i installation had no effect on the app. I do not see any Registry entries from the app that tell it where to look for Btrieve files. Any tips on how to get the app to use Btrieve 7?
 
You should be able to just rename the Btrieve 6 files in the application directory and then the app will start using the 2000i version Btrieve.
Windows causes the app to look in the app directory, the system directory, and then the system path when trying to load DLLs so until the Btrieve 6 DLLs are removed from the app directory, it'll keep using them.
info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Mirtheil:
Thank you for the tip. It worked fine as far as getting the application to attempt to use Btrieve 7.9. Unfortunately the application does a version check and refuses to run when it finds version 7.9. Is there any way to trick it into thinking version 6.15 is in place and get it to run, like maybe changing the version number in the Registry?
Fleabit
 
What's the application you're trying to run? There's not a way to globally change the version number returned. It also depends on how the application is checking the version. It could be doing a Btrieve version call or it could look at the version resource of the Btrieve DLLs. You should contact the vendor of the application and ask for a version of the program that doesn't have that check in it.
info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Mirtheil:
I am running Lytec Medical 2000 and they will sell me a new version full of bells and whistles that I don't need that runs on Betrieve 7 for 10 times what I paid for my current version which I am not about to do. That's why I am trying to get around the version check.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top