Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling CVI project with low-level input/output function under VC++

when compiling I get:
MIN69101.OBJ : error LNK2001: unresolved external symbol _read@12
MIN69101.OBJ : error LNK2001: unresolved external symbol _write@12
MIN69101.OBJ : error LNK2001: unresolved external symbol _lseek@12
Release/minil.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

minil.exe - 4 error(s), 0 warning(s)
I think I need some libs.
Who tell me what .lib I need?
0 Kudos
Message 1 of 3
(3,275 Views)
Hello,
I believe this KnowledgaBse will answer your question.

http://digital.ni.com/public.nsf/websearch/862567530005F09C8625646E007A258F?OpenDocument
0 Kudos
Message 2 of 3
(3,275 Views)
When you convert your existing CVI project, all external libs add automatically, you can see it in Project->Settings->Link.
But they don't include low-level in/out function.
If you use Dependency Walker you can see these functions in cvi-lvrt.dll, but not in cvi-lvrt.lib
0 Kudos
Message 3 of 3
(3,275 Views)