01-21-2004 01:57 PM
01-21-2004 04:34 PM
01-21-2004 04:57 PM
07-11-2011 05:35 PM
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
07-13-2011 10:16 AM
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
07-13-2011 02:11 PM
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
07-14-2011 10:58 AM
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
07-14-2011 10:59 AM - edited 07-14-2011 10:59 AM
<removing duplicate post>
07-14-2011 01:39 PM
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
07-14-2011 01:42 PM
(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