象这样子编译后的EXE文件还有17K,能否再小点??
program Project2;
uses
ShellAPi;
begin
ShellExecute(0,'open','http://www.sohu.com', nil, nil,0);
end.
program Project2;
uses
ShellAPi;
begin
ShellExecute(0,'open','http://www.sohu.com', nil, nil,0);
end.
加壳压缩
http://www.pediy.com/tools/packers.htm
所以我用DELPHI小姐给他作了一个,就是她太肥了点,这么点小事居然要17K,主要是因为ShellAPi太大了,不知道大家有无其他办法,当然不是做个快捷方式,要程序,要程序的。
能否再小点
function ShellExecute(hWnd: Integer; Operation, FileName, Parameters,
Directory: PChar; ShowCmd: Integer): HINST; stdcall; external 'shell32.dll' name 'ShellExecuteA';begin
ShellExecute(0,'open','http://www.sohu.com', nil, nil,0)
end.有没有比这个更小的了,在Delphi7下,呵呵