Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Possible dll compilation issue(Dll Corruption Post Compile) - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Tue Jan 24th, 2017 12:28 pm
PM Private Upload Quote Reply
amagFS
Member
 

Joined: Fri Aug 19th, 2016
Location: London, United Kingdom
Posts: 16
Status: 
Offline
Subject:
Possible dll compilation issue(Dll Corruption Post Compile)

Description:
A GUI is partially displaying localised translations; When trying to open the localised dll, Visual Studio displays a file corruption warning when trying to open the localised dll

Repeatable Problem:
-We believe that there is a compilation issue that has partially corrupted a compiled localised dll.
-The section of our application that uses the dll is not showing all the translated words.
(Image 1A)

-Opening the localised dll on visual studios on two different computers both displayed an error message'{DLL Name} appears to be corrupted' and some of the dll's structure appears to be missing.
(Image 2A)

-When opening the localised DLL the dialogues/forms that are in the original dll not present
(Image 3A) Left original dll structure, Right localised dll structure

Context:
No error messages were displayed by Sisulizer while compiling the dlls or in the event viewer.
All the strings were successfully extracted and displayed in the pre compilation stage that have translations set.
Visual Studio displays the error message when the original dll is imported as a .NET assembly file or and a Visual C++ binary file.

Question?
If there is a compilation issue could it be linked to the settings used when importing the original DLL to the .SLP project?
(Image 4A)

I have uploaded the original and localised dll,.SLP also information of visual studio used on one of the computers to open the file.

Attachment: Image 2A Unsuccessfully trying to open the compiled SymmetryPlugin.resources dll in visual studion.jpg (Downloaded 27 times)

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 24th, 2017 03:08 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2924
Status: 
Offline
Hi,

I asked R&D for it.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 24th, 2017 04:30 pm
PM Private Upload Quote Reply
amagFS
Member
 

Joined: Fri Aug 19th, 2016
Location: London, United Kingdom
Posts: 16
Status: 
Offline
Thanks

Back To Top PM Private Upload Quote Reply

 Posted: Thu Feb 2nd, 2017 12:31 pm
PM Private Upload Quote Reply
amagFS
Member
 

Joined: Fri Aug 19th, 2016
Location: London, United Kingdom
Posts: 16
Status: 
Offline
Hello, has there been any feedback from R&D?

Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 7th, 2017 12:11 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1944
Status: 
Offline
I am working on this.

Ilkka



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 7th, 2017 01:08 pm
PM Private Upload Quote Reply
amagFS
Member
 

Joined: Fri Aug 19th, 2016
Location: London, United Kingdom
Posts: 16
Status: 
Offline
Brilliant, thanks.

Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 7th, 2017 03:59 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1944
Status: 
Offline
Your assembly seems to be some kind of hybrid unmanaged/manager assembly. Unlike normal .NET assemblies it contains lost of unmanaged resources such as string_table, dialog, accelerator, menu, etc.

This is causing the problem. Before I can fix this I need to know how did you add those unmanaged resource into the assembly. Can you tell me.

Ilkka



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 7th, 2017 04:07 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1944
Status: 
Offline
Is this a .NET assembly. When I view the binary it seems so but it has very little managed resources (about 20 strings) but it has much more unmanaged resources.

Ilkka



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 7th, 2017 04:41 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1944
Status: 
Offline
I tried to localized the DLL as unmanaged Visual C++ DLL and it worked.

When you add a DLL or EXE into Sisulizer you will see this dialog. By default Sisulizer detects your DLL as .NET assembly because the PE file has that flag set and it contains managed resources. However you can force Sisulizer to scan it as unmanaged by selecting Visual C++ binary file.

Ilkka

Attachment: Untitled.png (Downloaded 13 times)



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

Current time is 03:36 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Possible dll compilation issue(Dll Corruption Post Compile)



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize