extern "C" is a C++ specific feature to compile/reference functions with C linkage from C++ code. It is meaningless (an an error) in C programs.
The normal way to work around this (as the
extern "C" is absolutely necessary in C++ programs building or using the DLL) is to exclude instances of
extern "C" except in C++, using the preprocessor.
You can see this for yourself if you look at the headers CVI installs; from
userint.h:
#ifdef __cplusplus
extern "C" {
#endifand
#ifdef __cplusplus
}
#endif
If you wrap this opening line and its closing brace in these guards, it should solve your problem.
Regards,
-alex