Link to home
Start Free TrialLog in
Avatar of Freerider
FreeriderFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Installing programs which use BDE

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.
Avatar of ginsonic
ginsonic
Flag of Romania image

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.


Avatar of mbprogrammer
mbprogrammer

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.
ASKER CERTIFIED SOLUTION
Avatar of wimmeyvaert
wimmeyvaert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Freerider

ASKER

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?
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.
Hi,

Thanks for the points and the grade !
Best regards,

The Mayor.