11-05-2013 04:28 AM
Hello,
I am writing a software for remote control of GPIB Products and I'm using the NI488-2 Driver v2.7.3. (Newer version havn't been installed yet due our EDV is overloaded)
I am writing the software with the language C++/CLI (Windows Forms) of Visual Studios 2010. Is there a way to include the ni4882.h file into this project?
I tried linking the 4882.obj file but that didn't work out and I don't have the NI .NET interface available due there wasn't an DLL for .NET reference installed together with the driver.
Any suggestions what I can try or is it just not possible?
Greetings,
Danny_Q
11-05-2013 09:38 AM
When installing NI-488.2 you need to choose to include support for .NET
11-05-2013 11:50 AM
Ah ok that could explain it. Then I have to talk to our EDV to fix this. Thank you 🙂
Regards,
Danny
11-22-2013 09:39 AM
OK, our EDV didn't manage to install the .NET support, so I still don't have the dll. Today I tried to call the ni4882.h and .obj file by including the folders with those two in the linker (additional dependencies) and the additional include directories, but everytime I tried to compile it I got the error message:
LNK1104: The file "ni4882.obj" could not be opened.
Do I need to have administrator rights to call the ni4882.obj file in C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\lib64\msvc ?
Any suggestions what I can try?
Best Regards and thanks for fast help,
Danny