當前位置:編程學習大全網 - 網站源碼 - delphi dll封裝indy

delphi dll封裝indy

library Project1;

uses

SysUtils,

Classes,

IDHttp;

function HTTPGet(AURL: PChar):PChar;stdcall;

var

H: TIdHTTP;

URL, Res: String;

begin

H := TIdHTTP.Create(nil);

try

URL := string(AURL);

Res := H.Get(URL);

Result := PChar(Res);

finally

H.Free;

end;

end;

{$R *.res}

exports

HTTPGet;

begin

end.

  • 上一篇:自動發卡網的卡密怎樣免費得
  • 下一篇:絕地求生自動壓槍的輔助工具都有哪些?
  • copyright 2024編程學習大全網