Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Fast way to get an url's source code?

Fast way to get an url's source code?

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gofur Halmurat
    wrote on last edited by
    #1

    Hello all, What is the fastest way to get an url's source code? I tried to use CHttpFile class, but it is very slow, is there any way to get faster url's sourse code? thanks for advance

    It is never late to learn

    T D 2 Replies Last reply
    0
    • G Gofur Halmurat

      Hello all, What is the fastest way to get an url's source code? I tried to use CHttpFile class, but it is very slow, is there any way to get faster url's sourse code? thanks for advance

      It is never late to learn

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      Gofur Halmurat wrote:

      I tried to use CHttpFile class, but it is very slow, is there any way to get faster url's sourse code?

      use direct API, but is surly depend on your network speed!

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
      Never mind - my own stupidity is the source of every "problem" - Mixture

      cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/codeProject$$>

      G 1 Reply Last reply
      0
      • T ThatsAlok

        Gofur Halmurat wrote:

        I tried to use CHttpFile class, but it is very slow, is there any way to get faster url's sourse code?

        use direct API, but is surly depend on your network speed!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/codeProject$$>

        G Offline
        G Offline
        Gofur Halmurat
        wrote on last edited by
        #3

        Thanks for reply: What is direct Api?

        It is never late to learn

        T 1 Reply Last reply
        0
        • G Gofur Halmurat

          Thanks for reply: What is direct Api?

          It is never late to learn

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          ohh sorry I chewed the word before writing it here ;-).. i ama talking about Internet api's. you could try this application, see it might be helpful :- http://www.codeproject.com/KB/IP/amhttputils.aspx[^]

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/codeProject$$>

          1 Reply Last reply
          0
          • G Gofur Halmurat

            Hello all, What is the fastest way to get an url's source code? I tried to use CHttpFile class, but it is very slow, is there any way to get faster url's sourse code? thanks for advance

            It is never late to learn

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Have you tried URLDownloadToFile()?

            "Love people and use things, not love things and use people." - Unknown

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups