title: Incompatible types: 'WideChar' and 'Char' delphi 7
body: <p>I am getting an error in my delphi code when using shellexecute to call an external progrem</p>
  
  <pre><code>procedure TReceiverMainForm.btnSearchClick(Sender: TObject);
   var
    args:string;
  begin
    mmoResult.Clear;
  //  args := ' /d='  + TIdURI.URLEncode(Trim(sSearch)) + ' /t=ReceiverMainForm /s=30 /m=1'
  args := ' /q='  + httpencode(Trim(txtSearch.Text)) + ' /t=ReceiverMainForm /s='+Trim(txtS.Text)+' /m='+Trim(txtM.Text);
    ShellExecute(Handle, 'open', 'YTD.exe', pWideChar(args), nil, SW_SHOWNORMAL);
  end;
  </code></pre>
  
  <p>how do i reslve this error?</p>