Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to deploy BDE with a Turbo Dephi application? & Error $2108 1

Status
Not open for further replies.

ReCycled

Technical User
Dec 30, 2001
19
GT
Hi

I am just starting with Delphi (downloaded free explorer version of Turbo Delphi). As a learning tool and gift to an org I donate time to, I developed a very simple three form app to access one DBF table of an old (but in use) DOS program -in Clipper-. Basically my Dephi app locates all receipts for any member and displays them in a list box withot having to exit windows to work in DOS, etc.

Works fine on my XP laptop, but when I run the exe file copied to the org's desktop (which also uses XP) I get an Exception EDBEngineError while attempting to initialize the Borland Database Engine (error $2108).

Borland's help talks a lot about "InstallShield" but I find no solution for Turbo Delphi that I can download. I am thinking of having the org download a Turbo to their PC, which should solve THIS problem, but tells me to forget any ideas about writting free or sold apps for others.

Is there a better legal way to solve this?
 
Hi there!

Take a look!

Bill Todd [Apr 28 2003, 23:20]
$2108 is "cannot locate IDAPI32.DLL." Either some or all of the BDE
files have been deleted or the registry keys are missing or incorrect.
Under HKEY_LOCAL_MACHINE\Software\Borland\Database Engine you should
find a value labled DLLPath that should point to your BDE directory
and another named ConfigFile01 that should point to the configuration
file in your BDE directory.


--
Bill (TeamB)


Sounds like you will need to reinstall The BDE engine.
I hope it helps you!
Best regards!
 
Thank you for your tip edioilha.

Values under H_KEY_LOCAL_MACHINE\... seem ok to me, and app runs fine on PC with downloaded Turbo Delphi. Problem is that compiled exe file does not include with it all it needs to run on any other PC.

Will check more carefully and post results.
 
I don't think the free version includes the required redistributables for the BDE. Check the included license agreement.

I'm also certain that Bill Todd's post was directed toward registered users.

Roo
Delphi Rules!
 
What????
This is rid...
Ok
Import the data to Firebird and use DbExpress.(I mean, I don't know if dbexpress is redistributable, Roo could help us in this question).
If you need some help, let me know please.
Thx
edioilha
 
Thank you guys. Sorry I took so long to get back to you, but I do this for fun, and the only time available is late at night or over weekends.

To roo0047: I went back and read carefully the eleven page License on the Turbo. Nothing on the BDE. On line Delphi docs did not help much either, but a BDE deployment txt says that products that include distribution rights for it, come with install programs, so I guess the BDE is not redistributable from the Turbo Delphi 2006 Explorer (free) version if it does not come with a "certified install program". Pitty, I probably need only one dll...

There is a download for a "BDE Merge Module for Borland Developer Studio 2006", which I thought was the same as the Turbo, but it regards me as "not registered", although my Delphi opening window says I am registered with 36,000 days remaining on my license.

Would consider paying for the Professional Turbo version (I think it is $400) but cannot find anything in the web that says the BDE can be redistributed with it, and I just don't know enough or use it enough, so it would be a luxury item for me.

To edioiha: I know nothing about Firebird, but I will try and learn. Turbo Delphi comes with dbExpress, it might have been the easy solution, if it is deployable or redistributable. I just used TTable on the BDE tool palette because I thought it to be the proper choice.

To both, and perhaps to others:

Not knowing what to do, before receiving your last tips, I downloaded Lazarus. I converted my app -and because I did not know what I was doing, destroyed all my little Delphi apps in the process. After much trial and error however, I now have an App that works on any machine.

It is not perfect, has really weird looking navigator buttons, and displays a 1,300.00 value as 1.3E3, but perhaps I can find how to fix the display (Actually I have searched the web, and all main Lazarus sites for three nights with no results..)

Wish I had the money to work with Delphi, more polished, more intuitive, and more tutorials and support, but free is hard to argue with.

Thank you for taking the time to help a non professional.

 
You may find my posts (along with everyone else's) in the following closed thread useful: thread102-1365868

I'm not sure in which version (my highest is D7E), but I think the BDE was phased out anyway. And there's the *"crutch"* effect. (Search as *keyword* in the above mentioned thread.)

And welcome to Delphi! The more you use it, the more you'll love it and perhaps justify the purchase of a registered version. It's most unfortunate that it is losing popularity, at least here in the U.S.

I've seen older versions offered for sale on the web. Perhaps other members will comment on what is the best version for your purposes. There is always the possibility that your current free version is all you'll need, particularly with "36,000 days remaining" on your license, assuming that (98+ yrs?) is accurate. :)


Roo
Delphi Rules!
 
Never too late to say thanks again.

Have read up on Firebird and will try it out soon on a new project to build from scratch, now that my "viewer" of old data is done. I understand it to be a good alternative to mySQL, PostgreSQL and the likes (neither of which I have ever used). An overkill for what I do, but will help me learn higher level DBMS.

As for Roo's link on the "crutch" effect of using the BDE: yes it is time for me to start learning SQL, and yes again, my Turbo license has exactly 36,030 days remaining today, so I will definitely expire before it does. I guess at most I have only 10,000 days left.

Cheers! I have to run..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top