In my Delphi 3 application, I have TDBGrid, TDatabase and TDataSource components. When I compile the project to an EXE, and then give the EXE to a friend to use on their own PC, they get the following error when they launch the program:
An error occured while attempting to initialize the Borland Database Engine (Error $2108)
I realize that the problem is that the BDE engine is not installed on my friend's PC. That's not really a big problem, since the table/database is not the main focus of the program, and only serves a minor function. He won't miss much if the table is not available.
However, it is a bit annoying for him that this error appears every time he launches the program.
My question... How can I prevent (exception trap) this error message so that the error message does not appear? And 'no', I don't want an Expert to reply, "Install the BDE engine!"
Assuming I don't install the BDE engine for my friend, how can I prevent the error from appearing? Is there any way to keep the error from appearing withOUT installing BDE on his PC?
If so, how?
Thanks.
Start Free Trial