dbTalk Databases Forums  

How to connect to Btrieve 6.15

comp.databases.btrieve comp.databases.btrieve


Discuss How to connect to Btrieve 6.15 in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
zoroto
 
Posts: n/a

Default How to connect to Btrieve 6.15 - 10-30-2003 , 09:42 AM







Hi to All,



I am new in Btrieve technology and all its components, engines, server
and clients.



On company computer, there is a program using Btrieve database.

I have to make a program(on c++, vc) wich use Btrieve dat files and
update them from time to time, I prefer to use already installed
components and server and not to install any new server.



As I could understand that this program is using MKDE and its database
contains only DAT files. There are no DDF files !!!!. It is starting
W32mkde when it starts and then close it when it is closing. There is no
ODBC definitions.



I can find following files which can help you:

W32mkde.exe (2.0.430.1)

Wbtrv32.dll (3.0.0.0)

Wbtrthnk.dll (3.0.0.0)

Wbtrcall.dll (6.15.440.1)

Wbtrvres.dll (6.15.3.0)



As I can understand this is version of Btrieve 6.15 which is not
supported from Pervasive. I could not find SDK for 6.15 on their server

;(



Is there any samples or tutorials or SDK how 3-rd party programs make
connection to database and executing queries and updating information?



10x in advice.



Regards,

Zoroto


--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
Gil
 
Posts: n/a

Default Re: How to connect to Btrieve 6.15 - 10-30-2003 , 04:18 PM






If you need to analyze the structure and build the DDF files you can
take a look at BtSearch at www.nssdd.com. You will need the DDF files
if you wish to use ODBC. Also if you decide to go that route you are
best to upgrade to Pervasive V8. If you do not want to create DDF
files and you do not want to upgrade then you will have to create a
program using the Btrieve API. In either case you will need to know
the file structures.

Gil

zoroto <member28107 (AT) dbforums (DOT) com> wrote

Quote:
Hi to All,



I am new in Btrieve technology and all its components, engines, server
and clients.



On company computer, there is a program using Btrieve database.

I have to make a program(on c++, vc) wich use Btrieve dat files and
update them from time to time, I prefer to use already installed
components and server and not to install any new server.



As I could understand that this program is using MKDE and its database
contains only DAT files. There are no DDF files !!!!. It is starting
W32mkde when it starts and then close it when it is closing. There is no
ODBC definitions.



I can find following files which can help you:

W32mkde.exe (2.0.430.1)

Wbtrv32.dll (3.0.0.0)

Wbtrthnk.dll (3.0.0.0)

Wbtrcall.dll (6.15.440.1)

Wbtrvres.dll (6.15.3.0)



As I can understand this is version of Btrieve 6.15 which is not
supported from Pervasive. I could not find SDK for 6.15 on their server

;(



Is there any samples or tutorials or SDK how 3-rd party programs make
connection to database and executing queries and updating information?



10x in advice.



Regards,

Zoroto

Reply With Quote
  #3  
Old   
Classic Software, Inc.
 
Posts: n/a

Default Re: How to connect to Btrieve 6.15 - 10-31-2003 , 11:27 AM




You will need several things to connect to this version of Btrieve.

1) The structure of the data. What are the field definitions in the files.
Even if you do not use a DDF these will be necessary. DDF files are a set of
Btrieve files that act as a data dictionary for a collection of Btrieve data
files. Applications that do not use DDF files are called embedded
applications. The structure of the database is embedded within the
application. For example if the program was written in C or C++ then there
are struct and or typedef definitions for the record and key structures of
the files. And these are compiled into the program.

If you do not have DDF files then the application that created these files
is probably an embedded one. You can create your own applications based on
DDF files or embedded as well. In both cases you will need to find the
structure of the existing files.

2) You need an api or at a minimum a way to call into the wbtrv32.dll file
from 6.15. We have several that will work great depending on the development
tool you want to use.

We have several tools that my be of interest.

First we have the Data Manager for Btrieve and Pervasive SQL standard and
Enterprise. These can open up an existing Btrieve file even if you do not
have a DDF. In this case they create a starting DDF. From there are several
features of the program available for determining the field layouts. We have
our own version here that we use in our consulting that includes a DDF
Sniffer. This does sophisticated pattern matching of Standard and non
standard Btrieve data types with each record in the file and can break out
most any file. We can do this for you for a fee.

The other tools we have are a C++ library called Btrv++. With this you can
easily create C++ programs that handle all of the complex coding to the
btrcall interface. And it will just link right in to the version of Btrieve
you are using. In fact it works with all versions of Btrieve. And it comes
with full source code.

We also have an ActiveX control modeled on ADO that will work with that
version as well as any other. Demos and/or documentation is available on all
of these on our website. See http://www.classicsoftware.com


"zoroto" <member28107 (AT) dbforums (DOT) com> wrote

Quote:
Hi to All,



I am new in Btrieve technology and all its components, engines, server
and clients.



On company computer, there is a program using Btrieve database.

I have to make a program(on c++, vc) wich use Btrieve dat files and
update them from time to time, I prefer to use already installed
components and server and not to install any new server.



As I could understand that this program is using MKDE and its database
contains only DAT files. There are no DDF files !!!!. It is starting
W32mkde when it starts and then close it when it is closing. There is no
ODBC definitions.



I can find following files which can help you:

W32mkde.exe (2.0.430.1)

Wbtrv32.dll (3.0.0.0)

Wbtrthnk.dll (3.0.0.0)

Wbtrcall.dll (6.15.440.1)

Wbtrvres.dll (6.15.3.0)



As I can understand this is version of Btrieve 6.15 which is not
supported from Pervasive. I could not find SDK for 6.15 on their server

;(



Is there any samples or tutorials or SDK how 3-rd party programs make
connection to database and executing queries and updating information?



10x in advice.



Regards,

Zoroto


--
Posted via http://dbforums.com





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.