1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cURL in Visual C++ or Visual Basic 2010

Discussion in 'C, C++, C#' started by redfan123, Apr 24, 2011.

  1. redfan123

    redfan123 Regular Member

    Anyone know how to get the damn thing working? Tried to add it as a reference, but no joy.
     
  2. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    643
    Likes Received:
    272
    Occupation:
    Account selling , Creating Multithread Bot's
    Location:
    http://spamvilla.com
    why u need curl u can do same with httpwebrequest and response ?
     
  3. redfan123

    redfan123 Regular Member

    Because Httpwebrequest and response are obsolete.
     
  4. gnote

    gnote Registered Member

    Joined:
    Mar 10, 2009
    Messages:
    80
    Likes Received:
    6
    Occupation:
    Programmer
    Location:
    USA
    it looks like you are searching for libcurl, which is a 3rd party library. i assume you have downloaded it and added that as a reference? there shouldn't be any curl libraries in the .net framework.

    i wouldn't say httpwebrequest is obsolete, but it is weak compared to say, your own http library.
     
  5. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    643
    Likes Received:
    272
    Occupation:
    Account selling , Creating Multithread Bot's
    Location:
    http://spamvilla.com
    well i dont know what u wanna do but in my case i did a tough automation via httpwebrequest well best of luck
     
  6. redfan123

    redfan123 Regular Member

    Tried using libcurl, but my version of VB didn't wanna play.

    In my version of VB there is a warning in the SDK when you try to instantiate httpwebrequest: "httpwebrequest is obsolete, please use system.net.webclient instead". Problem is, I've never played with webclient before, so I'm stuck.
     
  7. SLSWebber

    SLSWebber Newbie

    Joined:
    Feb 7, 2011
    Messages:
    15
    Likes Received:
    0
    Just use HttpWebRequest -> HttpWebResponse.
    I still use them and they work fine.
    I'm using the Webclient cast as HttpWebRequest though:
    (HttpWebRequest) Webclient();
     
  8. CoolAdvisor

    CoolAdvisor Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 24, 2008
    Messages:
    981
    Likes Received:
    361
    I used curl as an external exe via command line, worked for me in Blitz3d, will work with any language