Solved

Installing programs which use BDE

Posted on 2003-11-21
6
268 Views
Last Modified: 2013-11-23
Hi all,

I have a program which uses BDE. If I install my application on a system (without Delphi6) plus the BDE, I get an error when opening one form in particular, which says "compatability not supported" whatever that means!

But if I install the full Delphi package everything works ok.

I think the problem is related to creating new records since I get the same error when I try to add a new record.

Any ideas what could be missing?

Is there a better Setup creator which will include the files I need for my app?

Thanks,
Freerider.
0
Comment
Question by:Freerider
6 Comments
 
LVL 9

Expert Comment

by:ginsonic
ID: 9802847
1. Maybe you install a different BDE version

2. Maybe you have check the 'Build with runtime packege' and your application try to find the libraries.( check in Install package' menu )

3. I suggest to use InstallShell that come with Delphi. Don't install BDE on client, just add the BDE needed drivers ( see the Database option there ). These will be included into your install program.


0
 
LVL 4

Expert Comment

by:mbprogrammer
ID: 9805584
1. Maybe you install a different BDE version

2. Maybe you have check the 'Build with runtime packege' and your application try to find the libraries.( check in Install package' menu )

3.Maybe you use some SQL statements that does not support in your BDE version.
0
 
LVL 6

Accepted Solution

by:
wimmeyvaert earned 250 total points
ID: 9806351
Why not making use of ADO instead ?

Since BDE isn't supported any longer by Borland, I would go for ADO instead.
Installations of ADO-applications are very easy! Just the Exe-File is needed (and maybe an UDL-File which holds the DbConnection-information).
The only thing you have to be sure is that the MDAC is installed on the client (MSAC 2.7 can be easily downloaded from the M$-website).

Cheers,

The Mayor.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Freerider
ID: 9806509
I don't remember why, but I already changed my app from ADO to BDE. I can't remember what I did - it was over a year ago.

Wouldn't it be a lot of work to change it back?
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 9809136
Depends on how large you project is.
Normally, the biggest effort is that you have to use other components. You need to replace all TTables by TADOTable, TQuery by TADOQuery, ...
Also, instead of using a TDataBase-component, you have to make use of a TADOConnection.

In the Code, you normally don't have to change much. Maybe the way of connecting to the DB, because a TADOConnection has its own methods and properties to connect to the db.

Best regards,
The Mayor.
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 10821470
Hi,

Thanks for the points and the grade !
Best regards,

The Mayor.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IExtractImage Delphi 14 201
Delphi inherited method 6 63
CheckListBox usage 3 50
Not able to call Delphi XE10 dll function from Delphi 6.0 4 17
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now