07-08-2010 02:49 AM
Instead of lines of the form:
#define ERR_SUCCESS = 0;
you really should use:
#define ERR_SUCCESS 0
The '=' and the ';' are incorrect in your statements. Just remember that a #define effectively introduces a text substitution for the compiler during pre-processing.
JR
07-08-2010 09:37 AM
Line 363 of the include file recitates
DLL_API int __stdcall AVS_Init
where DDL_API is defined as
#define DLL_API extern "C" __declspec (dllexport)
As far as I can see the problem is in that extern "C" keyword which CVI cannot handle. As an example, look at some standard CVI include file like utility.h, where that keyword is not included.
Are you sure that DLL can be interfaced with C language?
06-01-2016 08:09 AM
Hello,
I am having a similiar problem now... Could you in fact attach the dll file?
Thanks,