Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade COM.interop of NI-COM-controls to NI-NET-Controls?

We used the cwui-controls with com-interop in a NET-application. Now we installed the MeasurementStudio for .NET and want to upgrade the used controls (about 30 controls). What is the best way to do this?
Best regards
Stephan
0 Kudos
Message 1 of 2
(3,628 Views)
You shouldn't need to do anything where you're using the controls. Actually, I don't think that you would even need to update the interop wrappers - the wrappers that are generated by AxImp use the CLSIDs for the controls and use .NET interfaces that are created from the type library, neither of which have changed, and it doesn't contain anything that's version-specific to the control. I think that just updating the .ocx's on your machine should be all that you need to do to start using the new controls. If you wanted to update the interop wrappers, you could run AxImp on the new cwui.ocx, remove the references to the old interop assemblies, then add the references to the new interop assemblies and that should work.

- Elton
0 Kudos
Message 2 of 2
(3,628 Views)