Since the linker didn't know where CINRun should have been resolved
from, and since all of the (supposedly) required libraries were
loaded, it is impossible for me to even start to know where to look in
this regard.  However, after reading through your notes on DLL
compilation I recalled seeing the note on extern "C" elsewhere in the
LabVIEW documentation.

I have solved the problem by:
 - Renaming the .c file to .cpp before importing it into Visual C++
 - Using the extern "C" { stuffgoeshere } for both the function and
function declaration.
 - Adding the appropriate includes for file and console classes, which
now give no errors

Thanks

Reply via email to