07-22-2009 05:55 PM
Hello,
I tried to run my windows program (x32) under Vista x64 and I have problems when calling the NationalInstruments.Analysis.Enterprise.dll. Under Vista x64 the Dll is not loaded.
Does Measurement Studio support Vista x64 when running as a x32 program ?
Best regards
Andreas Lindenthal
Solved! Go to Solution.
07-23-2009 09:31 AM
Hello Andreas,
Measurement Studio does support running as a 32 bit program on 64 bit windows. A more likely cause of the error you are seeing is not satisfying the dependancies necessary for your application to run on the 64 bit target machine. How did you deploy your application? Did you carefully read the Measurement Studio help topic Measurement Studio .NET Merge Modules for deploying via a setup project, or Measurement Studio .NET XCOPY Deployment Files for deploying via XCOPY?
If you have read these topics, and are confident you are deploying all the necessary dependencies, could you please post the error you are getting, perhaps with a screenshot??
Thanks!
NickB
National Instruments
07-23-2009 04:06 PM
Hello Andreas,
I also just realized that another likely cause of this issue is that you are building with the Target Platform set to AnyCpu. This would cause your application to look for 64 bit assemblies on the 64 bit OS, which Measurement Studio does not currently provide. If this is the case, you just need to set the Target Platform to be x86, so that on the 64 bit OS your application will be looking for the 32 bit Measurement Studio assemblies. For more information on this, check out the help topic Using Measurement Studio on 64-Bit Operating Systems.
Again, please don't hesitate to let me know if you have any questions.
NickB
National Instruments
07-24-2009 10:22 AM
Hello NickB,
the tip with the Target Platform solved my problem.
Thank you very much.
Best regards
Andreas Lindenthal
09-03-2010 09:16 AM
I got a similar problem as what was described here. We purchased the following product (copied from the license file):
NationalInstruments.Restricted.AnalysisLicenser, NationalInstruments.Analysis.Enterprise, Version=8.9.35.246, Culture=neutral, PublicKeyToken=18cbae0f9955702a
We use a 32 bit computer to compile a 32 bit program and target to be used on a 64 bit computer. The project which references the NI was set to target AnyCPU. After installation, there was an exception saying 'Unable to load nianilys.dll', even through the dll was on the folder supposed to be. After I read the post, I changed the target platform to be x86. There was a different exception: An attempt was made to load a program with an incorrect format.
Please tell us how to make this scenario work.
Thanks you in advance.
03-24-2011 08:46 PM
Hello,
I use VS2005+Measurement studio 8.1.1 in Windows XP and set the Target Platform to be x86.
I setup my application on Windows 7 x64,but the component will dispear.
I don't see any componet, but I can click it and it will raise event.
How can I do?
Thank you very much.
Best regards
Dennis