10-23-2013 01:01 PM
I am porting an application from Windows XP to Windows 7 that uses a NI USB-6501 and a Ni USB-6008. On the Windows 7 machine, I am able to toggle bits on the 6501 from the Measurement & Automation Eplorere but when try to toggle them from within my c# 2008 application I get this error message "A procedure imported by 'NationalInstruments.DAQmx, Version=9.3.35.219, Culture=neutral, PublicKeyToken=18cbae0f9955702a' could not be loaded.":"NationalInstruments.DAQmx, Version=9.3.35.219, Culture=neutral, PublicKeyToken=18cbae0f9955702a". Any suggstions?
10-24-2013 06:26 AM
Hi,
I had a similar issue going to Windows 7.
Make sure youtr references to MS libraries are set to Copy Local.
Also, the Widnows 7 build didn't copy the NationalInstruments.UI.Styles3D.dll to the Release folder.
I had to set a specific reference to that library in 7 that I didn't have to do in XP.
Hope this helps
Curt