Hi,
I'm trying to make a DLL that contains DAQ card operations. For now,
I have only one DAQ VI inside my DLL that simply sets a channel to 1 or 0.
But when I load this DLL from Visual C++ application, the LVDLLStatus function
returns error code 1003 indicating that the VI is not executable.
I have tested this VI on LabView and it is running correctly. Also in the DLL, I have
another VI that does simple addition of two numbers, even this is not working when
the other VI is included in the DLL. If I remove the VI that is operating the DAQ card
and build the DLL again, the addition function works correctly when called from VC++.
I have also tested the whole DLL, with both VIs built inside, from LabView and it is
working correctly.
Does anyone have similar experiences? Do I need some extra configurations to get
this working?
Thanks.