vcl-styles-plugins
vcl-styles-plugins copied to clipboard
[Inno Setup] Runtime Error | Cannot Import dll:
After start setup.exe got this error:
Runtime Error (at -1:0):
Cannot Import dll:
Issue on version 1.5.4.1. Verison 1.4.5.0 works fine.
OS Winsows 10 1511.
Issue only in new versions.
Fix this please.
Please check if you are using the proper version of the functions (Ansi/Unicode) that must match with version of Inno Setup (Ansi/Unicode).
Checked, everything is correct.
Unicode dll + Unicode inno setup
It looks like the problem occurred with changing some function with updates between 1.4.5.0 and 1.5.4.1 when changing to a new format of vcl theme
Ok, So then maybe you are using the Lite version of the plugin which only loads the old VCL Style format.
Error appears only after update VclStylesinno.dll to latest version
Lite verison also give me this error...
I tried the following combinations: VclStylesinno.dll 1.5.4.1 + New VCL Style format = Runtime Error VclStylesinno.dll 1.5.4.1 + Old VCL Style format = Runtime Error VclStylesinno.dll (Lite) 1.5.4.1 + New VCL Style format = Runtime Error VclStylesinno.dll (Lite) 1.5.4.1 + Old VCL Style format = Runtime Error VclStylesinno.dll 1.4.5.0 + Old VCL Style format = Ok Without dll = Ok
There are already two cases of user error in my program. http://s018.radikal.ru/i511/1711/70/255553289877.png http://s48.radikal.ru/i119/1711/fd/86804ba92735.png
Try changing the TEMP folder location into a path that does not use environment variables. In my case, the error message said it cannot import the file from
I hope this works in your case. I don't know why on some computer Inno setup fail to translate environment variables correctly.