Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio 2012 - Redistributables Problem on x64 platform

Hello,

 

We recently upgraded our application with the newly released NI Measurement Studio 2012 and we have problem with redistributables.

On Windows 7 x64 platform when we install x64 merge modules, our application does not run until we replace the “NationalInstruments.UI.Styles3D.dll” file of the x64 version with the one of the x86 version.

The development is done on Windows 7 x64 platform with Visual Studio 2010 SP1 for "Any CPU" target.

 

Thank you for help.

Oleg Romanov.

0 Kudos
Message 1 of 7
(6,358 Views)

Hi,

 

It seems like your application is built such that you are using the 32-bit version of NationalInstruments.UI.Styles3D.dll. Try building the application for x86 target instead of "Any CPU". That should put NationalInstruments.UI.Styles3D.dll in the right place.

Rohama K.
0 Kudos
Message 2 of 7
(6,346 Views)

Hello,

 

Thank you for your response. Our application does NOT 32-bit version of NationalInstruments.UI.Styles3D.dll. The problem we have is with 64-bit version. We read in one of the NI documents that if 64-bit version of DLL cannot be loaded, then 32-bit version of the same DLL is trying to be loaded. We think that some dependancies of 64-bit DLL are missing. Can you please review the lists below and advise what is missing ?

 

Our projects use the following references:

  • National Instruments Analysis Professional
  • NationalInstruments.Common
  • NationalInstruments.UI
  • NationalInstruments.UI.WindowsForms

 

The x64 installer has the following merge modules:

  • Microsoft_VC90_CRT_x86_x64.msm
  • Microsoft_VC90_MFC_x86_x64.msm
  • Microsoft_VC100_ATL_x64.msm
  • Microsoft_VC100_CRT_x64.msm
  • mkl64.msm
  • MStudioCommon.2010_x64.msm
  • MStudioProfessionalAnalysis.2010_x64.msm
  • MStudioUI.2010_x64.msm
  • MStudioUIDesign.2010_x64.msm
  • MStudioUIWinforms.2010_x64.msm
  • nianlys_x64.msm
  • NIMesa_x64.msm
  • niMetaUtils_x64.msm
  • policy_9_0_Microsoft_VC90_CRT_x86_x64.msm
  • policy_9_0_Microsoft_VC90_MFC_x86_x64.msm

 

We also paid attention that is Measurement Studio 2010 SP1 there was ‘MStudioUtils_x64.msm’ that does not exist is 2012 version. Is there some other merge module that should be used instead ?

 

Thank you,

Oleg Romanov

0 Kudos
Message 3 of 7
(6,234 Views)

What error message do you get when the 64-bit version of NationalInstruments.UI.Styles3D.dll is not removed and you try to run your application? If you can post a screenshot, that would be very helpful.

Rohama K.
0 Kudos
Message 4 of 7
(6,204 Views)

I don't see a resolution to this problem, and am experiencing the same issue.  My app uses only the led widget.

 

See attached for error message.

 

thanx... jpp

0 Kudos
Message 5 of 7
(5,734 Views)

By the way... the same build runs fine on a 32-bit machine.

0 Kudos
Message 6 of 7
(5,732 Views)
Hi,
 
According to the Measurement Studio 2012 for Visual Studio 2010 Help documentation here, there are special considerations for 3D Styles. The merge modules Microsoft_VC100_ATL_x86.msm, Microsoft_VC100_CRT_x86.msm, Microsoft_VC90_CRT_x86.msm, and Microsoft_VC90_MFC_x86.msm are necessary if your application uses 3D styles.
Jason H
Automated Test Software R&D
0 Kudos
Message 7 of 7
(5,709 Views)