11-12-2014 08:17 AM
Hi all,
i had created a dll from a labview code, the Header of the dll is:
void __cdecl Validation(Enum num, DO Enum, Enum1 Channel, LVBoolean *Etat, LVBoolean *Etat2);
but LVBoolean is not supported in cvi, the how to proceed to pass boolean values?
Regards,
SASA
11-12-2014 09:07 AM
LVBoolean is defined in extcode.h file, which you should have in your LabVIEW install and should be distributed together with the dll.
In my system (LV 2010) it is typedef'd as uInt8.
11-12-2014 10:30 AM
LVBoolean is defined in extcode.h file, which you should have in your LabVIEW install and should be distributed together with the dll.
In my system (LV 2010) it is typedef'd as uInt8
I had understood you and found the LVBoolean.h (and added int in the main.c) this morning, but not the second part ( should be distributed together with the dll. In my system (LV 2010) it is typedef'd as uInt8).
i'm trying to test this function
Validation(Enum num, DO Enum, Enum1 Channel, LVBoolean *Etat,LVBoolean *Etat2) which id generated with labview 2013 using C generator.
i'd attached the dll.h of my dll; what is the the solution to test this dll in a main.c