/[H6]/h6-udlånssystemDlg.cpp
ViewVC logotype

Diff of /h6-udlånssystemDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 34 by torben, Mon Sep 4 06:51:28 2006 UTC revision 41 by torben, Tue Sep 5 12:50:38 2006 UTC
# Line 10  Line 10 
10    
11  #include "commonstorage.h"  #include "commonstorage.h"
12  #include "databaselayer.h"  #include "databaselayer.h"
13    #include "microsoftdblayer.h"
14    #include "mysqllayer.h"
15    
16  #ifdef _DEBUG  #ifdef _DEBUG
17  #define new DEBUG_NEW  #define new DEBUG_NEW
# Line 111  BOOL Ch6udlnssystemDlg::OnInitDialog() Line 113  BOOL Ch6udlnssystemDlg::OnInitDialog()
113    
114    
115          try {          try {
116                  DatabaseLayer *dbl = new DatabaseLayer;                  //DatabaseLayer *dbl = new DatabaseLayer;
117                    DatabaseLayer *dbl = new MySQLLayer;
118                  CommonStorage::Instance()->setDBLayer(dbl);                  CommonStorage::Instance()->setDBLayer(dbl);
119          } catch (...) {          } catch (...) {
120                  MessageBox(CString("Could not establish connection to the database server\r\n") +                  MessageBox(CString("Could not establish connection to the database server\r\n") +

Legend:
Removed from v.34  
changed lines
  Added in v.41

  ViewVC Help
Powered by ViewVC 1.1.20