Page tree
Skip to end of metadata
Go to start of metadata

Description

Obtains the error message associated with any error code returned from other API functions.

Syntax

status = DEANStringLoadW32( <Status>, <Message>, <MessageBufferSize> )

Parameters

ParameterInput/OutputTypeDescription
StatusInputLongThe numeric value returned by one of the DEANxxx functions.
MessageOutputStringThis is a string that will receive the message text associated with the status code.
MessageBufferSizeInputLongThis is the maximum size that the string should be.

Example

Dim szBuffer As String*255
status = DEANAnalyzeW32(...)
DEANStringLoadW32( status, szBuffer, 255 )
strErr = Left$( szBuffer, Instr( szBuffer, Chr(0) ) - 1 ) 'Convert the string to a LotusScript string
MessageBox strErr
  • No labels