INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Btrieve 5.10a / XP Pro

Btrieve 5.10a / XP Pro

(OP)
I am using a btrieve application on a Windows XP Pro computer.  This application works fine on some XP machines but not on others.

I am getting an "Error Loading Btrieve Files" message when I try to launch the application.

Any help or insight would be greatly appreciated.  Thank you!

RE: Btrieve 5.10a / XP Pro

Considering that Btrieve v5.10a was released around 1991, I think, I'm surprised it works at all.  
Is this the DOS of the Win15 version?  
is there any number associated with the error?  Btrieve only returns numeric status codes (2,12,20,etc).  It doesn't return text messages.   

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Btrieve 5.10a / XP Pro

(OP)
It is the 5.10a DOS version

I have attached a screen shot of the error message.  No numeric value is assigned to the error and it is strictly a text message.  Btrieve is launched from a script in a .bat file.  A mirror image of the files work fine on our Novell Network as well as on our DOS machine.  As soon as I try to run it on an XP Pro machine I get the error message.

Thanks for your help.

 

RE: Btrieve 5.10a / XP Pro

The screen shot did not display properly.  Please try again.   

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Btrieve 5.10a / XP Pro

Well, you've got two versions installed and one of those versions is overstepping the other.  You can either modify the CONFIG.NT to remove the PSQL driver and then use Btrieve v5.10 or you can change the batch file to not load BTRIEVE.EXE.
 

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

RE: Btrieve 5.10a / XP Pro

(OP)
I will give it a shot, thank you.  I also tried upgrading to 6.15 and got other conflicts.  It doesn't make sense that it will work on some machines and not on others.  My personal workstation just got wiped and has a clean load of XP Pro on it, so I don't know how multiple versions could be running.  I'll try what you said and get back to you.  Thanks again.

RE: Btrieve 5.10a / XP Pro

(OP)
Thanks for the tip above.  I had loaded the Pervasive client after I was already having this problem, so what you said was true, but wasn't the original problem

It looks as though the DOS application I am running has a 16-bit ODBC, whereas the version of XP I am using as an OS is running 32-bit ODBC.  Any simple solutions???

RE: Btrieve 5.10a / XP Pro

DOS applications typically didn't access ODBC.  I would guess though that a 16 bit ODBC is still possible on XP. I haven't tried it.  
Because it looks like you've got BUTIL, you might try using it to see if it can access the data files.  For example, you can issue a STAT command and it will display information about the Btrieve file.  For example:
BUTIL.EXE -STAT <file>
where <file> is the name and path to a Btrieve file.  
Not knowing your application, I can't tell you what the filenames are but sometimes they have DTA, BTR, DAT, or MKD extensions.  You might look for DDF files (FILE.DDF, FIELD.DDF, INDEX.DDF) as well.

The steps I would suggest would be:
1. start a command prompt.
2. change to the gsoe directory.
3. run Btrieve.exe using the same parameters as the batch file.
4. issue the BUTIL.EXE -STAT command (specifying a Btrieve file).
5. Post any results or error codes.
 

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
http://www.mirtheil.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close