title: E2250 There is no overloaded version of 'StrPas' that can be called with these arguments
body: <p>My code :</p>
  
  <pre><code>function ThisModuleName: Char; //bulo String
  var
    p: array [0..512] of char;
    fileNamePart: pchar;
  begin
    GetModuleFileName(HInstance, @p[0], 512);
    GetFullPathName(@p[0], 512, @p[0], fileNamePart);
    result := StrPas(WideString(@p[0])); //stalo WideString
  end;
  </code></pre>
  
  <p>In Delphi 7 compiles.
  In Delphi 10.2 it gives an error:</p>
  
  <pre><code>[dcc32 Error] verinfo.pas(98): E2250 There is no overloaded version of 'StrPas' that can be called with these arguments
  </code></pre>