在函数copyfile()中传入一个string变量作为参数,报string与pansichar类型不匹配;
请问这是怎么回事情?怎么改?
copyfile('ssss.exe',string1,true);
shellexecute(0,'open','xx.exe',myparameters,trim(edit1.text),sw_normal);
//edit1.text放的是一路径