W weiiguo Unregistered / Unconfirmed GUEST, unregistred user! 2007-04-17 #1 我用ShellExecute函数传递参数给一个可执行程序,可执行程序接收到这个参数Paramstr(1)使用完后,又想把Paramstr(1)改回到未接收时的值,怎么修改?
W weiiguo Unregistered / Unconfirmed GUEST, unregistred user! 2007-04-17 #3 to 白河愁: 怎么修改GetCommandLine 指向得指针?
白 白河愁 Unregistered / Unconfirmed GUEST, unregistred user! 2007-04-17 #5 也罢 var Buf: PChar; begin showmessage(ParamStr(1)); Buf:= GetCommandLine; ZeroMemory(@Buf[0], Length(GetCommandLine)); showmessage(ParamStr(1)); end;
也罢 var Buf: PChar; begin showmessage(ParamStr(1)); Buf:= GetCommandLine; ZeroMemory(@Buf[0], Length(GetCommandLine)); showmessage(ParamStr(1)); end;