CDGetApplicationErrorString

Applies To:

ChemDraw Menu Extensions Interface:  Access Functions

Description:

Returns a string describing the given error code.

Syntax:

long CDAPI CDGetApplicationErrorString( long documentToken,
                                                       DataFormatType selectionFormat,
                                                      HANDLE *CDIFSelection
);

errorCode error code returned by a previous function call.
errorString buffer for null-terminated error string.
maxStringLen maximum length of error string.

Returns a long indicating success (0) or failure (!0) of the function.

Remarks:

If an error is returned by a previous call to another function, CDGetApplicationErrorString may be called to provide an error message.

This function must have ordinal number 15 in the Import Definition File.

Example:

See Also:



2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement
Tel  800 315-7300 / 617 588-9300     Fax  617 588-9390     Email   info@cambridgesoft.com
CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA