LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Garbage text in ConfirmPopup

When I do a clean install of a program build, the Confirm and MessagePopups display garbage text in the confirm buttons. I have not seen this behavior
David Eaton
0 Kudos
Message 1 of 14
(5,006 Views)
I believe these strings are coming from the resource file for the CVI Run-time engine. If you are getting garbage, that machine must not have a good install of the CVI RTE and support files on it.

(The files I am referring to should be in the Windows system directory under cvi\bin. I believe the file you need is msgrte.txt)

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 14
(5,006 Views)
Chris,

I found the file, and it is on the "non-functional" machine. I am going to try a build and distribute on another machine tomorrow. If that works, then I will purge my main CVI system and reinstall.
Thanks, David
David Eaton
0 Kudos
Message 3 of 14
(5,007 Views)

Hi Chris, 

 

We are having similar issues.  I have already compared the cvimsgs.txt files on my machine (which exhibits correct popup messages) and the machine that is exhibiting the wrong messages.  They are identical.  Is there any other mis-configuration issue, or other malady that you can think of that would result in a standard library call to pick up the wrong strings.

 

I have also entered a service request on this (before I found this entry) the ref # is 7326202, status currenlty shows unassigned (AE, Austin)

 

Thanks,

Rick Blum

0 Kudos
Message 4 of 14
(4,527 Views)

Rick,

 

The relevant message file, in this case, is msgrte.txt, not cvimsgs.txt. If you have one machine that behaves correctly, and one that does not, you should do the following:

 

1. Make sure that both machines are using the same version of the CVI Run-Time Engine. They don't have to use the same version, but if they do, it makes things simpler to compare.

2. Make sure that cvirte.dll is being loaded from the same location in both machines (c:\windows\system32\cvirte.dll, for a 32-bit OS). You can verify this by checking the Modules window in CVI, as you debug each program.

3. Compare the two message files (c:\windows\system32\cvirte\bin\msgrte.txt) in both machines. They should be the same, as long as the versions of cvirte.dll are the same.

 

Let us know the outcome of these checks.

 

Luis

0 Kudos
Message 5 of 14
(4,510 Views)

Hi Luis,

 

We are running on Windows 7 64 bit, (and BTW, using CVI 2010) but want to build 32 bit apps.  This is the problem.  When we build a 64 bit version of the same app, the messages in the popups are all correct.

 

In any case, we just ran the app in debug-32bit while viewing the module load locations and verified both machines sources from the same location, c:\windows\sysWOW64.  I also did a diff the msgrte.txt from the same directory, C:\Windows\sysWOW64 and found them to be identical.

 

I also did a diff from the msgrte.txt located in C:\windows\system32 and C:\windows\sysWOW64 and found that they are different.

 

So, my next questions:  Is my assumption that cvirte.dll reads the txt file in its directory correct?  The fact that the two file are different is suspicious.

 

Thanks,

Rick

0 Kudos
Message 6 of 14
(4,504 Views)

Can you let me know what the exact version of c:\windows\syswow64\cvirte.dll is, in both PCs?

 

Also, to be clear, your msgrte.txt files were in C:\windows\sysWOW64\cvirte\bin, not C:\windows\sysWOW64, correct? Make sure that you don't have msgrte.txt files anywhere in the bad PC other than C:\windows\sysWOW64\cvirte\bin and C:\windows\system32\cvirte\bin.

 

Finally, can you please attach your C:\windows\syswow64\cvirte\bin\msgrte.txt file here in the forum?

 

Thanks!

Luis

0 Kudos
Message 7 of 14
(4,487 Views)

<removing duplicate post>

0 Kudos
Message 8 of 14
(4,486 Views)

Hi Luis,   Let me reply in-line.

 

Can you let me know what the exact version of c:\windows\syswow64\cvirte.dll is, in both PCs?  10.0.0.360 on both PCs

 

Also, to be clear, your msgrte.txt files were in C:\windows\sysWOW64\cvirte\bin, not C:\windows\sysWOW64, correct? Make sure that you don't have msgrte.txt files anywhere in the bad PC other than C:\windows\sysWOW64\cvirte\bin and C:\windows\system32\cvirte\bin.

Here is a list of directories where the files of interest reside:


c:\windows\system32\             cvirte.dll

c:\windows\system32\cvi\bin   msgrte.txt

c:\windows\sysWOW64\         cvirte.dll

c:\windows\sysWOW64\cvi\bin   cvirte.dll

 

I also checked that the txt files on the suspect PC, and the corresponding txt files on my PC are identical.

 

By the way,the texts that replace the "yes" & "no" texts on the buttons is from the lines:

1324   "Re&move All"                                (replaces "Yes")
1325   "You must select at least one file."
(replaces "No")


 

Finally, can you please attach your C:\windows\syswow64\cvirte\bin\msgrte.txt file here in the forum?

Both are attached with files names accordingly, also a couple of images showing replacement text that is used.  Change the extension from zzz to zip.

 

Also, a diff on the two txt files shows they are not == (which is what I would expect, one is intended for 32 bit defaults and the other intended for 64 bit defaults, i.e. some of the text strings will be consumed by different type variables)

 

I think its time for a re-install.  What do you think

 

Regards,

Rick

 

0 Kudos
Message 9 of 14
(4,410 Views)

(Corrected an error below...)

Hi Luis,   Let me reply in-line.

 

Can you let me know what the exact version of c:\windows\syswow64\cvirte.dll is, in both PCs?  10.0.0.360 on both PCs

 

Also, to be clear, your msgrte.txt files were in C:\windows\sysWOW64\cvirte\bin, not C:\windows\sysWOW64, correct? Make sure that you don't have msgrte.txt files anywhere in the bad PC other than C:\windows\sysWOW64\cvirte\bin and C:\windows\system32\cvirte\bin.

Here is a list of directories where the files of interest reside:


c:\windows\system32\             cvirte.dll

c:\windows\system32\cvi\bin   msgrte.txt

c:\windows\sysWOW64\         cvirte.dll

c:\windows\sysWOW64\cvi\bin   msgrte.txt

 

I also checked that the txt files on the suspect PC, and the corresponding txt files on my PC are identical.

 

By the way,the texts that replace the "yes" & "no" texts on the buttons is from the lines:

1324   "Re&move All"                                (replaces "Yes")
1325   "You must select at least one file."
(replaces "No")


 

Finally, can you please attach your C:\windows\syswow64\cvirte\bin\msgrte.txt file here in the forum?

Both are attached with files names accordingly, also a couple of images showing replacement text that is used.  Change the extension from zzz to zip.

 

Also, a diff on the two txt files shows they are not == (which is what I would expect, one is intended for 32 bit defaults and the other intended for 64 bit defaults, i.e. some of the text strings will be consumed by different type variables)

 

I think its time for a re-install.  What do you think

 

Regards,

Rick

 

0 Kudos
Message 10 of 14
(4,406 Views)