LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking errors when using inifile.obj

I am using the INI file instrument driver in my CVI6.0 project. I included
the inifile.h and inifile.obj but when I try to run my application, I get
link errors in inifile.obj file. If I use the inifile.fp file (along with
the inifile.c file) verything works ok.

What could be wrong in my setup? I thought if I am using obj file, I don't
need anything else. I have done this multiple times with other instrument
drivers that NI provides as a part of CVI.


vishi
0 Kudos
Message 1 of 3
(3,138 Views)
Hello,
Functions in inifile refer to functions in toolbox fp file. So, you can just add toolbox.obj in your project, and your project should link without a problem.

Mika Fukuchi
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,138 Views)
Thanks Mika.


vishi

"mfukuchi" wrote in message
news:5065000000050000004BFF0000-1042324653000@exchange.ni.com...
> Hello,
> Functions in inifile refer to functions in toolbox fp file. So, you
> can just add toolbox.obj in your project, and your project should link
> without a problem.
>
> Mika Fukuchi
> Applications Engineer
> National Instruments
0 Kudos
Message 3 of 3
(3,138 Views)