X
xdzhan
Unregistered / Unconfirmed
GUEST, unregistred user!
我在其他程序程中调用我写的程序,将原来的文件名和转换后的文件名作为参数传递过去,完成转换动作,如下:<br>shellexecute(0,nil,pchar('MyApp'),PChar('/Conversion空格"' + 'C:/Documents and Settings/Administrator/My Documents/xxx.BMP' + '空格"'+'C:/Documents and Settings/Administrator/My Documents/My Pictures/xxx.JPG'+'"'),nil,SW_Show);<br>这里我传递了三个参数,第一个参数是转换命令“Conversion”,第二个参数是要转换的文件名称:'C:/Documents and Settings/Administrator/My Documents/xxx.BMP<br>第三个参数是转换后的文件名称:'C:/Documents and Settings/Administrator/My Documents/My Pictures/xxx.JPG'<br>却总是无法成功调用[]<br>