/[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 53 by torben, Mon Sep 11 14:02:08 2006 UTC revision 57 by torben, Tue Sep 12 17:48:20 2006 UTC
# Line 138  BOOL Ch6udlnssystemDlg::OnInitDialog() Line 138  BOOL Ch6udlnssystemDlg::OnInitDialog()
138                          OnOK();                          OnOK();
139                  }                  }
140                  CommonStorage::Instance()->setDBLayer(dbl);                  CommonStorage::Instance()->setDBLayer(dbl);
141          } catch (...) {          } catch (CDBException *ex) {
142                  MessageBox(CString("Could not establish connection to the database server\r\n") +                  MessageBox(CString("Could not establish connection to the database server\r\n") +
143                                     "Please contact your network administrator");                                     "Please contact your network administrator\r\n\r\n" +
144                                       "ODBC Returned the following message:\r\n" +
145                                       ex->m_strError);
146                    
147                    OnOK();
148            } catch (...) {
149                    MessageBox("Unknown DB exception");
150                  OnOK();                  OnOK();
151          }          }
152    

Legend:
Removed from v.53  
changed lines
  Added in v.57

  ViewVC Help
Powered by ViewVC 1.1.20