06-12-2006 02:35 AM
Warning 1 Referenced assembly 'C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.Analysis.Enterprise.dll' targets a different processor than the application. Time Analysis
Warning 2 Referenced assembly 'C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.Analysis.Enterprise.dll' targets a different processor than the application. Time Analysis
Warning 3 Referenced assembly 'C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.Styles3D.dll' targets a different processor than the application. Time Analysis
Warning 4 Referenced assembly 'C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.WindowsForms.dll' targets a different processor than the application. Time Analysis
I'm developing on a HPxw6200 client running Windows XP sp2 with my development area also on a network share on the main server.
Although they don't cause me any problems how can I fix these warnings?
stevieB
06-12-2006 10:52 AM
You say you are running XP sp2. Is it 64-bit XP (XP x64) or 32-bit XP? Is the OS of your development area on the server 64-bit or 32-bit?
I would expect these warnings if you are compiling the application for a 64-bit platform (or maybe for "any platform"). You can use the Measurement Studio libraries only in 32-bit applications. You can run 32-bit applications on a 64-bit OS, but the application itself must be 32-bit. This is noted in the readme file.
The Measurement Studio online help topic titled "Using Measurement Studio on 64-Bit Operating Systems" describes how to configure your project to build for 32-bit platforms.
06-13-2006 11:56 AM
Thanks for pointing me in the right direction!
I was compiling for 'any platform' but my application is aimed at the 32bit platform.
Once I put this right the warnings were gone.
Best Regards
StevieB