Home > Back-end > W1057 Implicit string cast from 'AnsiChar' to 'stri
W1057 Implicit string cast from 'AnsiChar' to 'stri
Time:02-04
The old tip: [DCC Error]. The main pas (291) : E2010 Incompatible types: 'Char' and 'AnsiChar' [DCC Warning]. The main pas (293) : W1057 Implicit string cast from 'AnsiChar' to 'string' [DCC Error]. The main pas (294) : E2010 Incompatible types: 'AnsiChar' and 'PWideChar'
The following error statement Params:=PChar (url + '? Op=doLogin& Uname='+ uname + & amp; Upass='+ upass + & amp; Version='+ version); Status: status + # 13 +='[010] ready to login, params: + params. ShellExecute (Handle, the 'open', params, ' ', ' ', SW_Show);
Only 20 points, help, withered!
CodePudding user response:
The status, params: string;
Remove AnsiChar (params) AnsiChar
Necessary in the ShellExecute PAnsiChar is used (params)