LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

incorrect strings appearing on pop-up panel buttons

Solved!
Go to solution
New install of CVI and TestStand when running CVI DLL the default <yes> <no> buttons on a popup panel now incorrectly display <print> <properties>.  DLL was not recompiled and works fine when ran on other machines.
0 Kudos
Message 1 of 5
(4,231 Views)
> New install of CVI and TestStand when running CVI DLL the default
> &lt;yes&gt;
> &lt;no&gt; buttons on a popup panel now incorrectly display &lt;print&gt;
> &lt;properties&gt;.&nbsp; DLL was not recompiled and works fine when ran
> on other
> machines.

Different compiler settings when dealing with uninitialized variables, maybe
?
--
Guillaume Dargaud
http://www.gdargaud.net/


0 Kudos
Message 2 of 5
(4,193 Views)

I most typically see this issue when the CVI runtime is a different version than the DLL/EXE was built in.  Is your new install of CVI of a different version (ie, built the DLL in 8.5.0 and installed now 8.5.1)?

 

This is the single-handed biggest reason that I always include the CVI RTE in the application directory in my installers.

0 Kudos
Message 3 of 5
(4,192 Views)
I do believe you are correct about a difference in file versions.  This behavior occurs on a specific machine regardless of which version CVI I build from.  I did a search on both machines for CVIRTE.DLL both had same file versions and were located in C:\Windows\System32.  Are there other files I should search for that load as part of the runtime engine?  I was suspecting someytype of language file or maybe a DLL that specifically deals with the UserInterface calls.  Either way NI should make things backwards compatible so recompile is not necessary when upgrading to new version.
0 Kudos
Message 4 of 5
(4,183 Views)
Solution
Accepted by topic author ALC_Mark

The root of the problem is that the file version in c:\windows\system32\cvirte\bin\msgrt4.txt and msgrte.txt were not the same on build machine and distribution machine.  This was despite the fact that NI Max was showing the same version number for CVI Runtime Engine.

The lines in above files were offset by 2 resulting in "Print" displaying instead of "Yes".

1306   "__Yes"
1307   "__No"
1308   "__Print..."
1309   "__Properties..."

Found file causing problem by building distribution and deploying to problem box then just start deleting files until error appeared again.

0 Kudos
Message 5 of 5
(4,172 Views)