LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with creating CIN (LNK2001)

I've been trying to compile a CIN for use with Labview 7.1 following the External Code manual provided with Labview.  I managed to compile a 'CIN' type .lsb file with no problem using my code when I didn't include cin.obj in my resource file.  However, if I try to add cin.obj, the following error message shows up:

--------------------Configuration: anotherone - Win32 Debug--------------------
Compiling...
svm.cpp
Linking...
cin.obj : error LNK2001: unresolved external symbol _CINRun
Debug/anotherone.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

anotherone.dll - 2 error(s), 0 warning(s)

I've searched the internet for answers and I've tried all the possible solutions given, including ones suggest here: http://forums.ni.com/ni/board/message?board.id=231&thread.id=568 and http://forums.ni.com/ni/board/message?board.id=170&thread.id=23527 and http://forums.ni.com/ni/board/message?board.id=170&thread.id=37014. 

I noticed that someone suggested it might have something to do with the fact that "A DLL is not compatible with a CIN".  If someone could help me with this problem, that'd be great.

Thanks a lot.
0 Kudos
Message 1 of 2
(2,219 Views)
Simplify your life and forget about creating a CIN. Create a dll instead. A CIN is considered obsolete.
Message 2 of 2
(2,217 Views)