06-26-2009 01:28 PM
Hi Folks,
I'm trying to distribute a gpib tool I wrote, and I require the NI4882.dll, Common.dll, and Native.dll. The thing is, the versions are a bit messed up.
NationalInstruments.Common is 8.6.35.131
NationalInstruments.Common.Native is 8.6.35.131
NationalInstruments.NI4882 is 8.5.35.308
I'm including the 2008 merge modules in my wix installer. it claims to work correctly. but attempting to run my tool yields an error to the tune of "missing Common.Native.dll version 8.5.35.149", which doesnt even exist on my dev box, leading me to wonder why this is even working here.
At kneejerk, I'm guessing that NI4882.dll is asking for the 8.5.35.149 version of native.dll, but getting 8.6.35.131 instead. on my machine this is somehow forgiven, but on the target machine it is not.
thoughts, comments, appreciated.
06-29-2009 03:44 PM
Orenmazor,
After reading your post, i checked and my version of the NI4882 in my examplse was also 8.5.35.308, though all of my other versions were 8.6, to see if the version changed at all, i downloaded the most recent 488.2 driver and installed it making sure to include support for Measurement Studio. After the re-install and the restart, i opened up an example in the example folder, and this time I was linked to the NI4882 dll with the same version number as everything else. So try updating your GPIB driver and re-linking to the new DLL in your project, and see if that helps. Let me know either way
06-29-2009 03:46 PM
06-30-2009 09:10 AM
The Gpib and Common assemblies are not always rev'd at the same time. Common tends to rev a little more often since its used by multiple products underneath. So the versions won't always be the same. Plus, you could be installing some device driver that includes a later version of Common.
Just a side note.
Best Regards,