By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,329 Members | 1,737 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,329 IT Pros & Developers. It's quick & easy.

Get URL Content In A windows service

P: n/a
Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx

Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Mohannad" <Mo**************@gmail.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx


This is platform specific, but maybe libwww has some platform wrappers.
http://www.w3.org/Library/

Jesper Madsen
Jul 23 '05 #2

P: n/a
Check WinInet and WinHTTP APIs provided by Microsoft. I don't remember
exactly which, but one of them can not be used from under services,
while the other was exactly created to be used from within the services.

http://msdn.microsoft.com/library/de...start_page.asp

Check also this article on its usage:
http://www.codeproject.com/internet/webcrawler.asp

Dundas Ultimate TCP/IP Library as far as I remember has something for
HTTP too, but that's not for free I think.

Yuriy

Mohannad wrote:
Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx


Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.