5 个解决方案
#1
uses ShellApi; //for Delphi
#include "ShellApi.hpp" //For BCB
#include "ShellApi.hpp" //For BCB
#2
uses shellapi
#3
uses shellApi;
shellExecute(Handle,'Open',Pchar(Edit1.text),nil,nil,sw_shownormal);
shellExecute(Handle,'Open',Pchar(Edit1.text),nil,nil,sw_shownormal);
#4
uses ShellApi;
(hinstance,'open','http://www.7feet.net',nil,nil,sw_shownormal);
(hinstance,'open','http://www.7feet.net',nil,nil,sw_shownormal);
#5
shellexecute(hinstance,'open','http://www.7feet.net',nil,nil,sw_shownormal);
#1
uses ShellApi; //for Delphi
#include "ShellApi.hpp" //For BCB
#include "ShellApi.hpp" //For BCB
#2
uses shellapi
#3
uses shellApi;
shellExecute(Handle,'Open',Pchar(Edit1.text),nil,nil,sw_shownormal);
shellExecute(Handle,'Open',Pchar(Edit1.text),nil,nil,sw_shownormal);
#4
uses ShellApi;
(hinstance,'open','http://www.7feet.net',nil,nil,sw_shownormal);
(hinstance,'open','http://www.7feet.net',nil,nil,sw_shownormal);
#5
shellexecute(hinstance,'open','http://www.7feet.net',nil,nil,sw_shownormal);