Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-Device Exemples and Visual Studio 2005

Hi,
 
We develop an application to control 2 gpib cards. One as an Input with NI-Device Plus driver (1.5) and the other one as an output with 488-2 Driver. I'd like to use LabWindows/CVI integrated functions in Visual Studio 2005.
The problem appears when importing an example project of NI-Device (wich is developped under Visual C++ 6.0) in Visual Studio 2005. The compilation crashes on unresolved external symbols.
 
Here is  what I get in the log file:
 
nidmgpib.lib(CNiDeviceSpyAutoLogger.obj) : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ) référencé dans la fonction "protected: char const * __thiscall CNiDeviceSpyAutoLogger::_GetDerivedClassName(class C4882Device const *)" (?_GetDerivedClassName@CNiDeviceSpyAutoLogger@@IAEPBDPBVC4882Device@@@Z)
.\Debug/MultiGpibDevice.exe : fatal error LNK1120: 1 externes non résolus
Thanks a lot.
 
Regards,
Nicolas R.
0 Kudos
Message 1 of 3
(3,688 Views)
Nicolas,

This is a known issue with NI-Device and Visual Studio 2005.  Please contact NI Technical Support via email to optain updated library files for use with VS2005.

Request Support

Thanks,

Jason Smith
GPIB Software
National Instruments
0 Kudos
Message 2 of 3
(3,669 Views)
Okay, I'll do it.

Thanks a lot and have a good day
0 Kudos
Message 3 of 3
(3,656 Views)