Solved

Installing programs which use BDE

Posted on 2003-11-21
6
267 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

759 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

19 Experts available now in Live!

Get 1:1 Help Now