I have an app that has a BDE back end. The people who write the suite that my software slots into have changed from using a Paradox BDE database to using an Interbase database.
So I've added Interbase support to my app, which is all well and good on a PC with both the BDE and Interbase client installed. But if the BDE is missing, I get an access violation when the app starts up (and it then continues happily), and if the Interbase client is missing, the app just dies instantly.
Is there some way I can make the app detect the presence of each database (particularly Interbase) before it loads the relevant data module?
Will not loading the relevant data module be enough to dodge the problem? Or will I have to do it through conditional compilation, and thus have two different flavours of my app out there?
-- Doug Burbidge mailto:dougburbidge@yahoo.com
So I've added Interbase support to my app, which is all well and good on a PC with both the BDE and Interbase client installed. But if the BDE is missing, I get an access violation when the app starts up (and it then continues happily), and if the Interbase client is missing, the app just dies instantly.
Is there some way I can make the app detect the presence of each database (particularly Interbase) before it loads the relevant data module?
Will not loading the relevant data module be enough to dodge the problem? Or will I have to do it through conditional compilation, and thus have two different flavours of my app out there?
-- Doug Burbidge mailto:dougburbidge@yahoo.com