GLX Application Framework > GLX Application Framework > Adding Database Drivers

Adding Database Drivers

RevDB.dll/.bundle requires additional files in order to connect to different databases. This lesson will demonstrate how to include RevDB database drivers with your application.

Open the Standalone Resources Tab

Click Add File to add the database driver.

Select Driver File

Select the driver file. I'm selecting the dbsqlite.bundle file (1). Click Open (2).

Specify Relative Path

I selected dbsqlite.bundle which is the driver file for OS X. On OS X applications are distributed as bundles so the dbsqlite.bundle file should be placed inside of the application bundle when deployed. In order to do this you can use the [[APPLICATION]] variable in your relative path. This tells the GLX Application Framework that you want to place the file inside the bundle on OS X or in the root application directory on Windows.

Answer Rest of Questions

After answering the rest of the questions presented in the dialogs your database drive will be added for OS X.

Repeat For Windows Driver

Repeat the same steps for the dbsqlite.dll file. Notice that I didn't use the [[APPLICATION]] variable in the path name since the file won't be used with OS X.

Comments (2)

Friday Jan 02 at 01:29 PM George Brackett

After specifying the relative path, there are a number of other parameters requested. Two are obvious: whether to include this driver with the OSX or Windows standalone. Next come the same question for standalone (Linux maybe?) and for updates. Can you explain these last two? Thanks!

Friday Jan 02 at 02:17 PM Trevor DeVore

'standalone' question means that the file will be including when building a 'standalone version of your application using the GLX Application Packager. 'updates' refers to when you build an update (for use with auto update feature) for your application using the GLX Application Packager. This allows you to include some files with your initial installation that won't be downloaded each time you use auto update.

Add your comment




E-Mail me when someone replies to this comment

Are you human?