home
recent topics
recent posts
search
faq
RC-WinTrans
Forum
remember me
register
|
lost password
| |
Kamesh
-
all messages by user
19.12.2013 13:31:52
Topic:
RC-WinTrans 9.3 Wintrans.Exit() not working
Kamesh
We were using RC Wintrans X8 Global in our project involving multiple .rwt projects. But after upgrading to RC-Wintrans 9 the Exit( ) function is not working and we are getting the following error after completion of the 1st .rwt project.
WinTrans - Object reference not set to an instance of an object.
The project file is closed as seen in the Wintrans Editor. But the Wintrans application is not exiting
20.12.2013 08:42:26
Topic:
RC-WinTrans 9.3 Wintrans.Exit() not working
Kamesh
This is the snippet which is causing error.
public void CloseWinTrans()
{
if (m_rwtApplication != null)
{
// Determine Temp directory used by WinTrans. This is needed to cleanup
// residual files left by WinTrans after it exits.
string tempDirectory = m_rwtApplication.Tools.DirectoryTool.GetTempDirectory();
try
{
// Exit WinTrans
m_rwtApplication.Exit();
}
catch
{
// Ignore all exceptions on exit.
}
m_rwtApplication = null;
// Delete WinTrans residual files in temp directory.
if (tempDirectory != null)
{
string[] tempFileList = Directory.GetFiles(tempDirectory, "RWTTmpFile_*.resx");
foreach (string filename in tempFileList)
{
File.SetAttributes(filename, FileAttributes.Normal);
File.Delete(filename);
}
}
}
}
The error in Event Viewer is
Application: CreateResourcesAllLanguages.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at CreateResourcesAllLanguages.WinTrans.CloseWinTrans()
at CreateResourcesAllLanguages.Program.ExecuteWintransOnDir(System.String)
at CreateResourcesAllLanguages.Program.CallWintransOnDir(System.String)
at CreateResourcesAllLanguages.Program.CallWintransOnDir(System.String)
at CreateResourcesAllLanguages.Program.CallWintransOnDir(System.String)
at CreateResourcesAllLanguages.Program.Main(System.String[])
The same code works fine with RCWintrans 8 but giving up after translating 1st RWT project in case of RCWintrans 9. So I am wondering if anything changed as part of RCWintrans 9
30.12.2013 09:43:34
Topic:
RC-WinTrans 9.3 Wintrans.Exit() not working
Kamesh
Sure I will try your solution. But I am just curious as to why it was working fine with RCWintrans 8 and causing error only in case RC Wintran 9.3 ?
02.06.2014 14:08:13
Topic:
Export strings to EXCEL
Kamesh
I see that Export to EXCEL is disabled in my RCWintrans editor. Microsoft Excel is installed on the system. Pleas help
20.06.2014 13:07:16
Topic:
RCWintrans error on loading the workspace
Kamesh
COpenXLIFFFilesystemDBbased::Init: Data file could not be extracted from database! Language: "da"; File: "D:\Status\UserActivityLogView.resx"
Error (305): The data file (DOM) could not be loaded: "da."
05.08.2014 21:04:55
Topic:
RCWintrans Crashing
Kamesh
EXEC : WinTrans - Creating an instance of the COM component with CLSID {06CD89C8-AE90-469D-892E-2F9E41236B7A} from the IClassFactory failed due to the following error : 800706ba The RPC server is unavailable. (Exception from HRESULT: 0x800706BA).
05.08.2014 23:59:25
Topic:
RCWintrans Crashing
Kamesh
I have RC-WinTrans 9 Global Edition. Its crashing only while running as an administrator. And it was working until yesterday afternoon and stopped working since then. I uninstalled and re-installed but that does not help.
edited by Kamesh on 06.08.2014
pages:
1
Powered by AspNetForum
6.9.6.0
© 2006-2010 Jitbit Software