I need to write a dll that processes a list of urls and validates each one based on whether it can be accessed or not.
Currently I am using wininet.dll but it seems a little bit slow for the job, can anyone advise me?
Printable View
I need to write a dll that processes a list of urls and validates each one based on whether it can be accessed or not.
Currently I am using wininet.dll but it seems a little bit slow for the job, can anyone advise me?
Have you tried the inet control? It is extremely fast at retrieving the HTML code for an available page.
I recommend using inet control. I have tried it and its fast enough to retrieve HTML codes.
Thanks guys- that pretty much confirms what I was thinking. I have experienced a few glitches with the inet control though. The more urls I check, the slower the response seems to be- I was thinking that I wasn't closing the channels or something.
You're right. In my case, my program will loop a thousand times with inet statement and I noticed that the performance is not consistent. Sometimes it reads the data quickly but other times it won't. Right now I'm still trying to figure out the cause.