I am tring to write codes to control NI-6703 for PCI using the NI-DAQ driver for C++.
In the sample codes, it calls "NIDAQErrorHandler" to retrieve the error description and display in the pop-up message box. The method is included with header file "nideqex.h", and implemented w/ the nidex32.lib
I would like to get the error description in a string rather than getting a message box. Is there a way to do that? Am I missig something here?
I managed to find the "NIDAQEx.c" source code on the internet, but it seems like the code is outdated, and the library is NOT really compiled from it, since it does not seems to have a call to any method that will return th
e error description in a string that got used to be displayed in the message box.
Is there a method that I can call and pass a error code, which will return the error description in a string?