Hi , I Want to website with ShellExec:
ShellExec('open', 'http://www.domain.com/test.htm' + ErrorCode, '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
ErrorCode is int , Compiler say Type Mismatch , How can I solve This Problem ?
Hi , I Want to website with ShellExec:
ShellExec('open', 'http://www.domain.com/test.htm' + ErrorCode, '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
ErrorCode is int , Compiler say Type Mismatch , How can I solve This Problem ?
There isn't an implicit cast of Int to String in InnoSetup. You'll need to convert the data type within your code like:
ShellExec('open', 'http://www.domain.com/test.htm' + IntToStr(ErrorCode), '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);