--- h6-udlånssystemDlg.cpp 2006/09/04 06:51:28 34 +++ h6-udlånssystemDlg.cpp 2006/09/05 12:50:38 41 @@ -10,6 +10,8 @@ #include "commonstorage.h" #include "databaselayer.h" +#include "microsoftdblayer.h" +#include "mysqllayer.h" #ifdef _DEBUG #define new DEBUG_NEW @@ -111,7 +113,8 @@ try { - DatabaseLayer *dbl = new DatabaseLayer; + //DatabaseLayer *dbl = new DatabaseLayer; + DatabaseLayer *dbl = new MySQLLayer; CommonStorage::Instance()->setDBLayer(dbl); } catch (...) { MessageBox(CString("Could not establish connection to the database server\r\n") +