vcl-styles-plugins
vcl-styles-plugins copied to clipboard
Cyrillic and VclStylesInno.dll
Runtime Error (at -1:0):
Cannot Import dll:
i think Cyrillic dont support by dll.
Please check which Version (UNICODE/ANSI) of the plugin are you using.
[Code] // Import the LoadVCLStyle function from VclStylesInno.DLL procedure LoadVCLStyle(VClStyleFile: String); external 'LoadVCLStyleW@files:VclStylesInno.dll stdcall'; // Import the UnLoadVCLStyles function from VclStylesInno.DLL procedure UnLoadVCLStyles; external 'UnLoadVCLStyles@files:VclStylesInno.dll stdcall';
UNICODE
Please attach these data
- A basic script to reproduce the issue.
- The windows version where the issue occurs.
- The version of the plugin which you are using.
- The version of NSIS which you are using.
- I cant repoduce. just 10 people have this issue. i can organize remote control with problem PC
- Win10
- Last version. Use last skins. On prev dll - all fine!!
- Inno setup 5.5.1 unicode
News! Runtime Error 217 and then Runtime Error (at -1:0): Cannot Import dll: C:\Users\2BA0~1\AppData\Local\Temp\is-33JJH.tmp\VclStylesInno.dll
Use {tmp}
and delayload
.
[Files]
Source: {#Style}.vsf; DestDir: {tmp}; Flags: dontcopy
Source: VclStylesinno.dll; DestDir: {tmp}; Flags: dontcopy
[Code]
procedure LoadVCLStyle(VClStyleFile: String); external 'LoadVCLStyleW@files:VclStylesInno.dll stdcall delayload setuponly';
procedure LoadVCLStyle_UnInstall(VClStyleFile: String); external 'LoadVCLStyleW@{tmp}\VclStylesInno.dll stdcall delayload uninstallonly';
procedure UnLoadVCLStyles; external 'UnLoadVCLStyles@files:VclStylesInno.dll stdcall delayload setuponly';
procedure UnLoadVCLStyles_UnInstall; external 'UnLoadVCLStyles@{tmp}\VclStylesInno.dll stdcall delayload uninstallonly';
function InitializeSetup(): Boolean;
begin
ExtractTemporaryFile('{#Style}.vsf');
LoadVCLStyle(ExpandConstant('{tmp}\{#Style}.vsf'));
Result:=True;
end;