• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1934
  • Last Modified:

Need a tool which changes the bde Paradox database net dir path ( to make bde windows 7 ready)

Hi,

I try to help a firm which has developed years ago a biofeedback software, which uses a bde database. Unfortunately the software does not work anymore in vista and windows 7.
The reason is, so far as I have found out, that first  in the registry the hklm/software/borland has not sufficiant permissions and second the net dir path needs to be changed from "C:\" to a different path.

So I wrote with inno setup a new installation script, which sets the permission. But I need a way to change the net dir path during installation. I have found code snippets for doing that, but I have no delphi compiler. I need a exe for changing the net dir path during installation to make the bde windows 7 and vista ready. I am only able to change the innosetup installation and not the application itself, because the programmers who have developed the biofeedback application, have left the firm years ago...

Is anyone out there who has a exe file for me, which I can use during installation for changing the net dir path of the bde database? Or someone who has an idea how to make the bde vista ready, so that the biofeedback application which uses the database is running on Vista and Windows, too?


{$APPTYPE CONSOLE} 
uses 
SysUtils, BDE; 
var 
hCur : hDBICur; 
Config : CFGDesc; 
begin 
if (ParamCount <> 1) or (DbiInit(nil) <> DBIERR_NONE) 
then Exit; 
hCur := nil; 
// Paradox 
if (DbiOpenCfgInfoList(nil, dbiREADWRITE, cfgPersistent, 
'\DRIVERS\PARADOX\INIT', hCur) = DBIERR_NONE) and 
(DbiSetToBegin(hCur) = DBIERR_NONE) 
then 
while DbiGetNextRecord(hCur, dbiWRITELOCK, @Config, nil) = 
DBIERR_NONE do 
begin 
if StrIComp(Config.szNodeName, 'NET DIR') = 0 
then 
begin 
StrCopy(Config.szValue, PChar(ParamStr(1))); 
DbiModifyRecord(hCur, @Config, true); 
end; 
end; 
DbiExit(); 
end.

Open in new window

0
rolandkg1001
Asked:
rolandkg1001
  • 5
  • 3
1 Solution
 
Mahdi78Commented:
It enough to put the following files in application folder

IDR20009.DLL
CHARSET.CVB
EUROPE.BTL
FAREAST.BTL
IDAPI32.DLL
IDBAT32.DLL
IDDBAS32.DLL
IDPDX32.DLL
BANTAM.DLL
IDSQL32.DLL
OTHER.BTL
SQLINT32.DLL
USA.BTL
0
 
rolandkg1001Author Commented:
Really? Would be great!
Where can I find those files?
And after that I really do not need to change the net dir path anymore? Because vista does not allow to write into the root directory...
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Mahdi78Commented:
You found it in
Program Files\Common Files\Borland Shared
and
Program Files\Common Files\Borland Shared\BDE
0
 
rolandkg1001Author Commented:
Sorry for asking again, but I have no knowledge with delphi...

Do I have to copy or to move those files to the directory where the biofeedback application exe is running?
0
 
Mahdi78Commented:
Copy those files to your application (exe) folder
0
 
rolandkg1001Author Commented:
Ok, many thanks to you!!
I have found all files - only SQLINT32.DLL is missing?!
The date of the bde files are 12.11.1999 - is this correct?

0
 
Mahdi78Commented:
Mine is 20-08-2002 version 5.2.0.2
0
 
8080_DiverCommented:
rolandkg1001,
I would seriously suggest to the firm that they need to bring their application into the 21st century and get it rewritten to handle the data without the BDE.  The BDE was de[precated long before Vista, much less Windows 7.
Paradox is also a deprecated database.  It was never the most network/multiuser friendly database.
Does the firm have the source code or are they running on a totally unsupported/unsupportable executable?  If the latter, then they would be well advised to get it rewritten before there is a version of Windows that it is absolutely incompatible with.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now