I'm trying to run a simple Visual C++ file in LabVIEW by using CIN. However, I'm having trouble compiling the source code in Windows. I followed the online help and created a Makefile (buffer.mak):
I saved this file in the same folder as my .c file, and then when I tried to open the .mak file into Visual c++ I recieved the following prompt:
The project 'buffer.mak' must be converted to the current Visual C++ project format. After it has been converted, you will not be able to edit this project in previous versions of Visual Studio. Convert and open this project?
I selected Yes, and then recieved the error: Cannot load the project due to a corrupt project file
I'm at a loss of what to do, seeing as I can't load the .lsb file into LabVIEW without a working Makefile.
Any amount of help would be greatly appreciated. Thanks.
Since you are not using the DDK, you should post your question in the LabVIEW board. Also, why are trying to create a CIN? It's much simpler to create a DLL and use the Call Library Function Node. A CIN is somewhat obsolete.