/ Published in: C++
Get error description from Lotus Notes C API
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
STATUS error; char szNotesError[MAX_NOTES_ERROR]; if (error = NSFDbOpen(szName)) { OSLoadString(NULLHANDLE, ERR(error), szNotesError, MAX_NOTES_ERROR); printf("Unable to open database: %s.\n", szNotesError); return; }