Posted By

AlexLocust on 02/26/10


Tagged

error api lotusnotes


Versions (?)

Get error description from Lotus Notes C API


 / Published in: C++
 

Get error description from Lotus Notes C API

  1. STATUS error;
  2. char szNotesError[MAX_NOTES_ERROR];
  3.  
  4. if (error = NSFDbOpen(szName))
  5. {
  6. OSLoadString(NULLHANDLE, ERR(error), szNotesError, MAX_NOTES_ERROR);
  7.  
  8. printf("Unable to open database: %s.\n", szNotesError);
  9.  
  10. return;
  11. }

Report this snippet  

You need to login to post a comment.