C
casser
Unregistered / Unconfirmed
GUEST, unregistred user!
我写了一个程序需要传递程序调用a.exe,<br>这样写能正常运行:<br>procedure TForm1.BitBtn1Click(Sender: TObject);<br>var ip:string;<br>var ports:string;<br>begin<br>ip:='61.53.137.227';<br>ports:='44409';<br> ShellExecute(Handle, 'open', 'Main.exe', PChar('connter /u'+ip+' /p'+ports),nil, SW_SHOW);<br>end;<br>而这样去不行:winexec(Handle, 'open', 'Main.exe', PChar('connter /u'+ip+' /p'+ports),nil, SW_SHOW);<br>谁告诉我怎么办啊?