Discussion:
Problem with creating CIN (LNK2001)
(too old to reply)
kay88
2008-08-11 03:40:05 UTC
Permalink
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.cppLinking...cin.obj : error LNK2001: unresolved external symbol _CINRunDebug/anotherone.dll : fatal error LNK1120: 1 unresolved externalsError 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.
Dennis Knutson
2008-08-11 04:10:04 UTC
Permalink
Simplify your life and forget about creating a CIN. Create a dll instead. A CIN is considered obsolete.
Loading...