View Single Post
  #2  
Old 03-01-2016, 17:30
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by LuisCésar82 View Post
The skin viewer (.cjstyles) does not work if compiled with inno setup unicode version.
If compiled with unicode inno it does not detect the INI file (ISSkinIniCombo).
It works only if compiled in standard ANSI version or enhanced edition of inno setup. If compiled with the standard unicode inno or enhanced edition unicode the combobox fields of the ini file is blank.
I believe the problem is that the function EnumResourceNames in script file.
I managed to fix it.
To use Inno Setup unicode version should also be used to ansi version of EnumResourceNames (EnumResourceNamesA) of kernel32.dll library.
But using Inno Setup unicode version should be changed lpType and lpName of String to PAnsiChar.

I posted the modified script if someone is interested.
Attached Files
File Type: rar ISSkinViewer Script To Inno Unicode.rar (8.4 KB, 16 views)
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
pakrat2k2 (03-01-2016), Razor12911 (03-01-2016)