LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

compile errors

I am using CVI 7.1 and am getting tons of compile errors on my include files, most are microsoft headers and the error is:
Syntax error: found ")" expecting ","
 
(Example)The line:found in "string.h"
_CRT_OBSOLETE(iswctype) _CRTIMP int __cdecl is_wctype(__in wint_t _C, __in wctype_t _Type);
 
or some variation of it.
What could be so wrong with the syntax of the headers
 
Thanks
Mike
0 Kudos
Message 1 of 2
(2,971 Views)

CVI is sensitive to the order of some #include files - a common way to avoid this type of error is to ensure that any #include <windows.h> statement is the first line of your source code, before any other #includes.

Or it could be something else...

JR

0 Kudos
Message 2 of 2
(2,968 Views)