我调用一个外部程序,WinExec('c:\windows\calc.exe',0);执行正确,加变量不行。如下:
  WinExec(ExtractFilePath(Application.Exename)+'c:\windows\calc.exe',0);
系统提示:incompatible types:'string' and 'pchar',如何解决?请帮忙!