I brwosed the w3c lib and found that I can use
HTXParse module(HTEPtoCl.c) to dump the content retrieved from
network into the memory (this module is not a part of DLLs
on windows), and put my own process in the callback
function HTCallClient(). As other parts of my application
are written with c++, so I hope HTCallClient() will be in
a c++ file, but this seems to cause compiler error as the
lib is written with c ( you can call c function in c++ program,
however, you can not call c++ function in c program, at least
with MSVC). 

If only the lib is written with c++!!

Provided an opportunity, I will like to rewrite the lib with
c++ (I am seriouly) .
Tao Jiang     Visiting Scientist,            E40-369, CECI, MIT
phone:        (617)-253-3514(o)  (617)-576-9665 (h)
email:   jiangt@ceci.mit.edu    URL:  http://ceci.mit.edu/staff/jiangt/