Article View: alt.lang.basic
Article #254Re: Quick BASIC & Btrieve
From: Phillip Cooper
Date: Mon, 05 Oct 1992 16:35
Date: Mon, 05 Oct 1992 16:35
37 lines
1917 bytes
1917 bytes
In article <92Oct03.033917.26923@acs.ucalgary.ca> gerke@acs.ucalgary.ca (Ken Gerke) writes: >I'm helping someone to debug some code that was originally >written in GWBasic, converted to QuickBasic and is nearly >finished being upgraded to QB 4.5. The code has several modules >that chain between each other. It uses the latest version of >Btrieve for file management. It has developed a bug in the >upgrade process where it freezes the system in the middle of >executing a CHAIN command. I'm inclined to suspect some subtle >interaction with btrieve as we have inspected the code leading up >to the call rather thoroughly. We have an ON ERR handler in >place, but it is not called in this situation. The program just >freezes. I'm guessing that somehow memory is being corrupted, >but we're not doing anything fancy like PEEK, POKE, DEF SEG, etc. > >Got any tips? Are there any problems in Btrieve that someone has >heard of. Is there a chance that upgrading to the Professional version >would solve this? > This type of problem is almost always caused by having a stack which is too small. Try increasing it with either the Clear statement or the /st: link command. >And just as an aside: >Could one could use the current version of >Btrieve(QBIXBTRV.OBJ) with Visual BASIC for DOS >or does Novell have to come out with a new object file? > It depends on wether this OBJ file will work with far strings... > >Ken Gerke >Academic Computing Services >University of Calgary >(403)220-5079 | gerke@acs.ucalgary.ca Phil Cooper
Technical Details
Message-ID:
<1992Oct05.163551.17541@microsoft.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!philcoReferences:
<92Oct03.033917.26923@acs.ucalgary.ca>Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!philco From: philco@microsoft.com (Phillip Cooper) Subject: Re: Quick BASIC & Btrieve Message-ID: <1992Oct05.163551.17541@microsoft.com> Date: 05 Oct 92 16:35:51 GMT Organization: Microsoft Corporation References: <92Oct03.033917.26923@acs.ucalgary.ca> Lines: 37