Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid 30 day evaluation warning

We have developed an application using measurement studio 7.0 and VC6.0, it uses the CWUI.OCX.
It works great on our development machines, to distribute the app we have copied it and its
dependent files to a directory on a target machine and then copied the cwui.ocx and mesa.dll to
the windows\system32 directory, and then registered the control by entering "regsvr32 cwui.ocx"
at a command prompt. It appears to register correctly, but when the application is run the
program displays a "You have 30 days to evaluate this software dialog".
What is the correct procedure for distributing apps using the componentworks controls? Am I doing
something wrong?

Paul
0 Kudos
Message 1 of 4
(4,283 Views)
Hello,
The development machine is most likely not correctly licensed. Run the "License Fixer Utility" attached to the NI KnowledgeBase article ActiveX Controls Evaluation Message Box Appears after Installing Measurement Studio on the machine that you built the application on. This will help you find and fix the licensing problem on your development machine. After fixing the problem, you need to rebuild the application. If the application is written in Visual C++, you will need to move a control on your dialog by one pixel and save it before rebuilding in order for the corrected license to be saved.
Also, Measurement Studio ships a set of redistributable merge modules. These might be useful if you are planning on eventually creating an installer to redistribute your application. Refer to the topic "Distibuting Measurement Studio Applications" in your Measurement Studio help for more information.

Nauman
Message 2 of 4
(4,266 Views)
I have used the licencefixer utility on my machine and it indicates that
all the controls are correctly licenced, though curiously it indicates
that the UserInterface controls are version 7.0 rather than the version 7.1
which is what is actually installed.
I can't find any information on redistributing apps developed with VC6.0 and
Measurement Studio, though I found a brief desription on distributing .NET apps
but that involved using merge modules and installshield, which I don't have
a copy of.
Any suggestions?
TIA
Paul
0 Kudos
Message 3 of 4
(4,258 Views)
Did you try moving one of the controls on your dialog and resaving and rebuilding your application? Not sure what the license state of your machine was when you initially created the application but it looks like it is currently correctly licensed.
About the help, what do you have your filter set to. Set the filter to "Measurement Studio" or "Measurement Studio Visual C++ Class Libraries". You should see "Deploying Measurement Studio Applications" in the Table of Contents.

Nauman
0 Kudos
Message 4 of 4
(4,244 Views)