Inno setup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
== | == Complie error: type mismatch == | ||
solution: | solution: | ||
* check the data type which used by the function ex: function [http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_msgbox MsgBox] | * check the data type which used by the function ex: function [http://www.jrsoftware.org/ishelp/index.php?topic=isxfunc_msgbox MsgBox] | ||
Revision as of 15:13, 28 October 2011
Complie error: type mismatch
solution:
- check the data type which used by the function ex: function MsgBox
example: before:
StatusCode := 123; MsgBox( StatusCode , mbInformation, MB_OK);
after:
StatusCode := 123; MsgBox( ' StatusCode - ' + IntToStr(StatusCode) , mbInformation, MB_OK)
Repair the garbled Chinese text in MsgBox (iss file was encoding to UTF-8)
solution:
- add Chinese text to [CustomMessages] in the iss file
[CustomMessages]
ChineseText=中文測試文字
[code]
...
MsgBox( CustomMessage('ChineseText') , mbInformation, MB_OK);
Inno setup version: 5.4.2