Cart Contact NSDSP Home

nsdsp_get_error

The NSDSP object stores the text of the last error caused by operations involving the NSDSP object as well as Session objects linked to it. This function returns the text of the error.

Syntax

void nsdsp_get_error(
        nsdsp_t           nsdsp,
        char*             error
);

Parameters

nsdsp - a reference to the NSDSP object returned by nsdsp_connect function

error - the buffer to be filled with the error message. The buffer must be at least 512 characters long.

On Windows, there are two versions of this function - nsdsp_get_error_a (for ASCII) and nsdsp_get_error_w (for UNICODE). The "nsdspif.h" file maps nsdsp_get_error to one of these functions depending on whether UNICODE is defined or not.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.