![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm that dinosaur in here who still uses and distributes Btrieve 6.15 since we bought an unlimited distribution license, and it works. We realize that one day (maybe today?) we're going to HAVE to upgrade to the current release. While this is free for us as the developers (in the sense of the SDK) what's holding us back is the cost to the end-users, and because of the current economic crunch, we can't absorb that cost ourselves (even at only $25/seat). We have a client that has another Btrieve application, is more a power-user type, and is running a current (v 10?) Pervasive. When he tries to run our 6.15 Btrieve app, it's behaving strangely. It seems to be able to read data fine, but is having trouble writing data and also with transaction logging (begin tran). Strangely enough, it must have been able to write data at some point because the data conversion (from 5.10a DOS to 6.15 Windows format) worked okay, however the system is never able to log him out (updating a simple file) and gets errors anytime our code tries to begin transaction (opcode 19 or 219). Also, there appear to be times when he can add records, with no errors, but the records are not there? Is there a known problem with the current or recent versions of Pervasive working with older applications such as mine compiled (VB 6.0) with 6.15 Btrieve? Am I going to have to upgrade? Any feedback appreciated. Bill "Frisbee" Hileman, CPD |
#3
| |||
| |||
|
|
I'm that dinosaur in here who still uses and distributes Btrieve 6.15 since we bought an unlimited distribution license, and it works. We realize that one day (maybe today?) we're going to HAVE to upgrade to the current release. While this is free for us as the developers (in the sense of the SDK) what's holding us back is the cost to the end-users, and because of the current economic crunch, we can't absorb that cost ourselves (even at only $25/seat). We have a client that has another Btrieve application, is more a power-user type, and is running a current (v 10?) Pervasive. When he tries to run our 6.15 Btrieve app, it's behaving strangely. It seems to be able to read data fine, but is having trouble writing data and also with transaction logging (begin tran). Strangely enough, it must have been able to write data at some point because the data conversion (from 5.10a DOS to 6.15 Windows format) worked okay, however the system is never able to log him out (updating a simple file) and gets errors anytime our code tries to begin transaction (opcode 19 or 219). Also, there appear to be times when he can add records, with no errors, but the records are not there? Is there a known problem with the current or recent versions of Pervasive working with older applications such as mine compiled (VB 6.0) with 6.15 Btrieve? Am I going to have to upgrade? Any feedback appreciated. Bill "Frisbee" Hileman, CPD |
#4
| |||
| |||
|
|
I'm that dinosaur in here who still uses and distributes Btrieve 6.15 since we bought an unlimited distribution license, and it works. We realize that one day (maybe today?) we're going to HAVE to upgrade to the current release. While this is free for us as the developers (in the sense of the SDK) what's holding us back is the cost to the end-users, and because of the current economic crunch, we can't absorb that cost ourselves (even at only $25/seat). We have a client that has another Btrieve application, is more a power-user type, and is running a current (v 10?) Pervasive. When he tries to run our 6.15 Btrieve app, it's behaving strangely. It seems to be able to read data fine, but is having trouble writing data and also with transaction logging (begin tran). Strangely enough, it must have been able to write data at some point because the data conversion (from 5.10a DOS to 6.15 Windows format) worked okay, however the system is never able to log him out (updating a simple file) and gets errors anytime our code tries to begin transaction (opcode 19 or 219). Also, there appear to be times when he can add records, with no errors, but the records are not there? Is there a known problem with the current or recent versions of Pervasive working with older applications such as mine compiled (VB 6.0) with 6.15 Btrieve? Am I going to have to upgrade? Any feedback appreciated. Bill "Frisbee" Hileman, CPD |
#5
| |||
| |||
|
|
I'm that dinosaur in here who still uses and distributes Btrieve 6.15 since we bought an unlimited distribution license, and it works. We realize that one day (maybe today?) we're going to HAVE to upgrade to the current release. While this is free for us as the developers (in the sense of the SDK) what's holding us back is the cost to the end-users, and because of the current economic crunch, we can't absorb that cost ourselves (even at only $25/seat). We have a client that has another Btrieve application, is more a power-user type, and is running a current (v 10?) Pervasive. When he tries to run our 6.15 Btrieve app, it's behaving strangely. It seems to be able to read data fine, but is having trouble writing data and also with transaction logging (begin tran). Strangely enough, it must have been able to write data at some point because the data conversion (from 5.10a DOS to 6.15 Windows format) worked okay, however the system is never able to log him out (updating a simple file) and gets errors anytime our code tries to begin transaction (opcode 19 or 219). Also, there appear to be times when he can add records, with no errors, but the records are not there? Is there a known problem with the current or recent versions of Pervasive working with older applications such as mine compiled (VB 6.0) with 6.15 Btrieve? Am I going to have to upgrade? Any feedback appreciated. Bill "Frisbee" Hileman, CPD |
#6
| |||
| |||
|
|
I'm that dinosaur in here who still uses and distributes Btrieve 6.15 since we bought an unlimited distribution license, and it works. We realize that one day (maybe today?) we're going to HAVE to upgrade to the current release. While this is free for us as the developers (in the sense of the SDK) what's holding us back is the cost to the end-users, and because of the current economic crunch, we can't absorb that cost ourselves (even at only $25/seat). We have a client that has another Btrieve application, is more a power-user type, and is running a current (v 10?) Pervasive. When he tries to run our 6.15 Btrieve app, it's behaving strangely. It seems to be able to read data fine, but is having trouble writing data and also with transaction logging (begin tran). Strangely enough, it must have been able to write data at some point because the data conversion (from 5.10a DOS to 6.15 Windows format) worked okay, however the system is never able to log him out (updating a simple file) and gets errors anytime our code tries to begin transaction (opcode 19 or 219). Also, there appear to be times when he can add records, with no errors, but the records are not there? Is there a known problem with the current or recent versions of Pervasive working with older applications such as mine compiled (VB 6.0) with 6.15 Btrieve? Am I going to have to upgrade? Any feedback appreciated. Bill "Frisbee" Hileman, CPD |
#7
| |||
| |||
|
|
I'm that dinosaur in here who still uses and distributes Btrieve 6.15 since we bought an unlimited distribution license, and it works. We realize that one day (maybe today?) we're going to HAVE to upgrade to the current release. While this is free for us as the developers (in the sense of the SDK) what's holding us back is the cost to the end-users, and because of the current economic crunch, we can't absorb that cost ourselves (even at only $25/seat). We have a client that has another Btrieve application, is more a power-user type, and is running a current (v 10?) Pervasive. When he tries to run our 6.15 Btrieve app, it's behaving strangely. It seems to be able to read data fine, but is having trouble writing data and also with transaction logging (begin tran). Strangely enough, it must have been able to write data at some point because the data conversion (from 5.10a DOS to 6.15 Windows format) worked okay, however the system is never able to log him out (updating a simple file) and gets errors anytime our code tries to begin transaction (opcode 19 or 219). Also, there appear to be times when he can add records, with no errors, but the records are not there? Is there a known problem with the current or recent versions of Pervasive working with older applications such as mine compiled (VB 6.0) with 6.15 Btrieve? Am I going to have to upgrade? Any feedback appreciated. Bill "Frisbee" Hileman, CPD |
#8
| |||
| |||
|
|
Your 6.15 application should work fine, with a few caveats: 1) Make sure that you are reporting ALL errors coming back from the Btrieve calls, especially on Inserts, Updates, and Deletes. Many developers only handle the "obvious" errors and any unusual error may be skipped and never reported. The easiest way to do this is to create a new function (say, EBTRV) that encapsulates your current call to the database (BTRV) which ALSO logs (to screen or a log file) any non-zero status codes that come back. You can also add some debugging code that can be switched on or off inside the same call. Then, change your calls from BTRV to EBTRV where you ONLY expect a 0 status code to come back, and you'll have good error logging. 2) Check (with BUTIL -STAT) for any files that are in the 5.x format. If you have some older 5.x files, the PSQLv10 engine will NOT write to them (returning Status 46). Rebuilding the files to at least 6.x format will resolve this issue. There may be more, as well, but knowing the status codes is the FIRST issue... |
#9
| |||
| |||
|
|
Your 6.15 application should work fine, with a few caveats: 1) Make sure that you are reporting ALL errors coming back from the Btrieve calls, especially on Inserts, Updates, and Deletes. Many developers only handle the "obvious" errors and any unusual error may be skipped and never reported. The easiest way to do this is to create a new function (say, EBTRV) that encapsulates your current call to the database (BTRV) which ALSO logs (to screen or a log file) any non-zero status codes that come back. You can also add some debugging code that can be switched on or off inside the same call. Then, change your calls from BTRV to EBTRV where you ONLY expect a 0 status code to come back, and you'll have good error logging. 2) Check (with BUTIL -STAT) for any files that are in the 5.x format. If you have some older 5.x files, the PSQLv10 engine will NOT write to them (returning Status 46). Rebuilding the files to at least 6.x format will resolve this issue. There may be more, as well, but knowing the status codes is the FIRST issue... |
#10
| |||
| |||
|
|
Your 6.15 application should work fine, with a few caveats: 1) Make sure that you are reporting ALL errors coming back from the Btrieve calls, especially on Inserts, Updates, and Deletes. Many developers only handle the "obvious" errors and any unusual error may be skipped and never reported. The easiest way to do this is to create a new function (say, EBTRV) that encapsulates your current call to the database (BTRV) which ALSO logs (to screen or a log file) any non-zero status codes that come back. You can also add some debugging code that can be switched on or off inside the same call. Then, change your calls from BTRV to EBTRV where you ONLY expect a 0 status code to come back, and you'll have good error logging. 2) Check (with BUTIL -STAT) for any files that are in the 5.x format. If you have some older 5.x files, the PSQLv10 engine will NOT write to them (returning Status 46). Rebuilding the files to at least 6.x format will resolve this issue. There may be more, as well, but knowing the status codes is the FIRST issue... |
![]() |
| Thread Tools | |
| Display Modes | |
| |