LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Mistake with library cvi_db.h

Hi

 

to all

 

I am having a problem with the library cvi_db.h in my program , when I add this library to the test program in the header  the program  send me several  mistakes with the other librarys for exemplo messages.

 

Redefinition of macros with others librarys

undeclarer indentifier

 

I dont know what is the cause, if I clear the library cvi_db.h of the header of the program all the mistakes are eliminates.

 

do you know why mi program can be  failed

??

 

 

Thanks for your help. 

 

 

0 Kudos
Message 1 of 2
(3,205 Views)

Hi Mario Ku!

 

Apparently it seems that the library might be overwriting one of the windows libraries. Try to include the windows.h library before the cvi libraries and check if that works.

Other than that i cant figure any other reason.

 

Let me know if that helps.

 

Take care and have a great day!

 

0 Kudos
Message 2 of 2
(3,194 Views)