HiDoes anyone know where I can find a list of c++ api error messages and codes? In particular does anyone know what error code 0x’607’ means?
Thanks for your help.
Ron
HiDoes anyone know where I can find a list of c++ api error messages and codes? In particular does anyone know what error code 0x’607’ means?
Thanks for your help.
Ron
Subject: c++ api error messages
LNINT LNGetErrorMessage( LNSTATUS error, char *buf, LNINT buflen = LNERROR_MESSAGE_LENGTH)
Subject: RE: c++ api error messages
Thanks for that, those are the next two lines in my program, unfortunately the line giving the error is session.Init();
Subject: RE: c++ api error messages
gotcha.
I cannot recall if the error codes in the c++ and c api’s the same.
But if so, it is ‘encountered zero length record’
Dim strError As String
Dim i As Integer
i = &H607 ' 0x'607'
strError = getCAPIError(i)
Msgbox strError
Public Function getCAPIError(ErrorNum As Integer) As String
Dim retError As String * 256
Call W32_OSLoadString(0, ErrorNum And &h03ffffff, retError, 256)
getCAPIError = Strleft(retError, Chr(0))
End Function
Subject: RE: c++ api error messages
Thanks again.
You don’t by any chance know if there is an issue with the c++ api and notes 7 do you.? have rerun the failing test on an other machine running Notes 6.5 and it ran without problem.
Subject: RE: c++ api error messages
I have c++ api code running under 7.
If the initialize won’t work, I’d check the user reference guide again to make sure you have all of the compiler switches correct (since the default settings will not work). e.g. “Pack structure members on single-byte boundaries.”, etc.