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

[Help] Getting data from the internet (C++ Win32 API)

Discussion in 'Programming' started by Tryst, Aug 29, 2011.

  1. Tryst

    Tryst (✿O‿O) http://450.github.io/mse Administrator Super Moderator Moderator Dedicated Donor

    So I want to add some sort of version checker to my TsrPR bot. Diamondo's DPS uses a HttpWebRequest function, which is a .NET function; I was wondering if there's a simple way of achieving the same with Win32 API (non-MFC).

    I had a look at libcurl, but I get a missing MSVRC90.dll error when compiling with that - and I don't especially want users of my bot to have the same error.

    What I ultimately want to do is have a really light weight function in the bot to pull information from a URL and then display that text in a message on the bot.

    Any suggestions? :x
     
  2. NonLeaf

    NonLeaf Well-Known Member

    ReadStream o.o Can't remember of anything now, I'll edit in a sec..
     
  3. Benjamin

    Benjamin B-Baka!! Trade Ban Dedicated Donor

    Version checker?
    Use txt files & a FTP server.
    That's how I did it once :x (VB though)
     
  4. Nazgul1444

    Nazgul1444 Dedicated Supporter Dedicated Donor

  5. GroundZero

    GroundZero LOL Banned Public Coder Donor

  6. Tryst

    Tryst (✿O‿O) http://450.github.io/mse Administrator Super Moderator Moderator Dedicated Donor

  7. GroundZero

    GroundZero LOL Banned Public Coder Donor

  8. Tryst

    Tryst (✿O‿O) http://450.github.io/mse Administrator Super Moderator Moderator Dedicated Donor

    MSDN doesn't give any examples on how to use this to read an online file.
     
  9. GroundZero

    GroundZero LOL Banned Public Coder Donor

  10. Tryst

    Tryst (✿O‿O) http://450.github.io/mse Administrator Super Moderator Moderator Dedicated Donor

    I see, thanks. :x
     
  11. nerrazzuri

    nerrazzuri Member

  12. Tryst

    Tryst (✿O‿O) http://450.github.io/mse Administrator Super Moderator Moderator Dedicated Donor

Share This Page