I have a project that uses MySQL as it's database. After deploying i get an error message stating the following 'an error occurred while attempting to initialize the Borland Databse engine (error $210A)', when i start the exe. The app does work however! So i used the bde migration wizard to get rid of this, but the report tells me that nothing was changed. Thus the error stays. I thought that since i am using TMy... classes i do not need the BDE... When i install BDE with the App i get no errors. I am guessing that the fact the DB unit is used the search for the BDE is started. 1 Is this correct? 2. Can i get rid of the BDE with MyDAC? I am using 5.2 version of it, BDS 2006.
Eric-Jan
BDE migration wizard, project needs BDE when installed
The DB unit contains base classes for working with databases, and it do not need BDE. MyDAC do not need BDE as well.
BDE classes are implemented in the DBTables unit. It is likely that the name of the unit appears in a uses clause of a unit of your program. Find all appearances of DBTables in you program and remove them.
BDE classes are implemented in the DBTables unit. It is likely that the name of the unit appears in a uses clause of a unit of your program. Find all appearances of DBTables in you program and remove them.
Hello Antaneus,
OK, it's not the DB unit.., i was close. But, the DBTables is nowhere included in my project. I did have a TDataSource in my project. Am i right that the units for DataAccess and/or datacontrols are the guilty ones? Is there a list somewhere or was it just limited to DBTables? Sorry to bother you but the 5MB extra for the BDE i do not want to have in my distribution...
EDIT:ohoh, can DBGrids be a problem? Or a dll that i use that has some functions using DBTables?
OK, it's not the DB unit.., i was close. But, the DBTables is nowhere included in my project. I did have a TDataSource in my project. Am i right that the units for DataAccess and/or datacontrols are the guilty ones? Is there a list somewhere or was it just limited to DBTables? Sorry to bother you but the 5MB extra for the BDE i do not want to have in my distribution...
EDIT:ohoh, can DBGrids be a problem? Or a dll that i use that has some functions using DBTables?
Hello Antaeus,
Sorry for the mispelling in my previuos post.
Thanks for your advice. The dll i use has indeed references to DBTables. With the time i have i can not recreate the dll so i will deploy the BDE with it for now. I will surely check whether or not that's my problem because in the end it has to go without the BDE.
Again thanx!
Sorry for the mispelling in my previuos post.
Thanks for your advice. The dll i use has indeed references to DBTables. With the time i have i can not recreate the dll so i will deploy the BDE with it for now. I will surely check whether or not that's my problem because in the end it has to go without the BDE.
Again thanx!