Changeset 21461

Show
Ignore:
Timestamp:
15.01.2010 13:24:04 (9 years ago)
Author:
ak19
Message:

Error messages are sent to stderr, since there are linking errors in generating oaiserver and library.cgi when the graphical Messagebox method is called. We can use the Messagebox for debugging the local library server (server.exe) instead.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/lib/gsdltools.cpp

    r21454 r21461  
    309309  } 
    310310 
    311   MessageBox (NULL, message, title, MB_OK); 
    312 } 
    313  
    314 #endif 
     311  cerr << message << endl; 
     312 
     313  // When debugging w32server having the messages appear in a popup 
     314  // window can be more convenient 
     315  //MessageBox (NULL, message, title, MB_OK); 
     316} 
     317 
     318#endif