Page 1 of 1
How to get rid of BDE
Posted: Wed 02 Jul 2008 08:38
by Milan Bacik
After we succesfully migrate our Builder 2006 project from BDE to ODAC we are not able to cut of BDE. ALthough we removed all includes in headers, all references in project the executable is still loading BDE dlls. This is problem because we have to distribute BDE, which sometimes colide with other BDE aplications.
Posted: Thu 03 Jul 2008 07:54
by Plash
Try the following:
1. Open Project | Options | Packages and remove bdertl from the runtime package list.
2. Open the *.bdsproj file in a text editor, and check that this file does not contain any references to 'bde'.
Posted: Thu 03 Jul 2008 10:15
by Milan Bacik
I have removed bdertl from runtime packages. Program is still loading BDERTL100.BPL. When i look at executable with Dependency Walker i discovered that ODACVCL100.BPL is dependent on BDERTL100.BPL.
Posted: Fri 04 Jul 2008 06:49
by Plash
You are right. OdacVcl requires BDE because OdacVcl contains the TBDESession component.
If you have ODAC with Sources you can recompile the OdacVcl package without the TBDESession component (you need to comment $DEFINE BDESESSION in Odac.inc). Otherwise I recommend to remove OdacVcl from the runtime packages list.
Posted: Fri 04 Jul 2008 09:08
by Milan Bacik
I need OdacVcl because of Hourglass cursor. I have odac sources version 5.80 and there is no $DEFINE BDESESSION. Should I upgrade to odac 6.x ?
Posted: Fri 04 Jul 2008 10:08
by Milan Bacik
OK I comented TBDEsession out in sources and everything is OK now. Thanks for your help. Migration to ODAC was good decision and we are happy to using it
