url := 'http://www.XXX.com/send.asp?v_oid=' + t + '&v_amount=' + edit5.text + '&re1=' + Unit3.username;
ShellExecute(Handle, 'open', 'Explorer.exe', pchar(URL), nil, SW_SHOWNORMAL);
为什么URL用了变量就不对了呢??
ShellExecute(Handle, 'open', 'Explorer.exe', pchar(URL), nil, SW_SHOWNORMAL);
为什么URL用了变量就不对了呢??
ShellExecute(Handle, 'open', 'Explorer.exe', 'about:bank', nil, SW_SHOWNORMAL);如果网址直接写里面,就行,如果网址用一个变量替代,就不行ShellExecute(Handle, 'open', 'Explorer.exe', pchar(URL), nil, SW_SHOWNORMAL);就不行了!不知道什么原因
var
URL: string;
begin
URL := 'http://www.baidu.com';
ShellExecute(Handle, 'open', 'Explorer.exe', pchar(URL), nil, SW_SHOWNORMAL);
end;