.h to .d advice needed

Emp empty at nomail.com
Tue Aug 8 05:26:28 PDT 2006


I changed it to:

const DAQmxSuccess=0;

bool DAQmxFailed(int error){
 if (error<0) return true;
 return false;
}

And changed your code with:
throw new StringException()

So now I get this error:
C:\Program Files\...\NIDAQmx.lib
 Error 43: Not a Valid Library File
:D
I'm beginning to get this feeling that maybe everything was for nothing :(


> let me retype that:
>
> //from header file
> /**********************************
> *** NI-DAQmx Error Codes
> *********************************************************/
> //C     #define DAQmxSuccess                                  (0)
> //C     #define DAQmxFailed(error)                           ((error)<0)
> // Error and Warning Codes
> //C     #define DAQmxErrorCOCannotKeepUpInHWTimedSinglePoint (-209805)
> //C     #define DAQmxErrorWaitForNextSampClkDetected3OrMoreSampClks
> (-209803)
>
>






More information about the Digitalmars-d-learn mailing list