看到有段代码里面有这个CanGetIECookie('http://aaa.net/bbs/index.php',str)?有这个函数吗?在哪个单元里面?我怎么编译不过去,还是自己写的函数。

解决方案 »

  1.   

    //上网是干嘛的?搜呀!~~
    uses wininet;function CanGetIECookie(const URL:string; var Cookie:string):boolean;
    var lpvBuffer:array[0..1000] of byte;
        lpdwBufferLength:cardinal;
    begin
      lpdwBufferLength:=sizeof(lpvBuffer);
      result:=InternetGetCookie(PChar(URL),nil,@lpvBuffer,lpdwBufferLength);
      if result then
       Cookie:=pchar(@lpvBuffer);
    end;
      

  2.   

    zswangII(伴水清清)(一贴不灌,何以灌天下?) 
    你不如再多说一句:在那搜的?
      

  3.   

    -_-!!!!!http://www.google.com/search?q=CanGetIECookie&ie=UTF-8&hl=zh-CN&btnG=Google%E6%90%9C%E7%B4%A2&lr=