En réponse à Daniel Stenberg <daniel_at_haxx.se>:
> On Thu, 23 Aug 2001, Steve Lhomme wrote:
> > According to lib/libcurl.def the name of the DLL should be libcurl.
> > that's what the .lib (used to link your app to libcurl.dll) is
> > for. But in the .dsp file (used to generate the .dll and .lib with
> > C++ 5/6) there is :
Actually you should change the Debug/ and Release/ ones.
> > I think that should be changed :)
> Ah, yes. Thanks for pointing this out!
> > Otherwise, does anyone have an example of how to correctly retrieve
> > IE proxy settings ? (here for example it's loaded to a configuration
> > :( )
> I have no idea. If you do find out, I sure others would appriciate if
> posted a quickie about your findings!
After a few search, I've found that you have to use wininet.dll to retrieve
this kind of information (see InternetGetConnectedState and
InternetQueryOption / INTERNET_OPTION_PROXY ). But if you use it, that makes
libcurl useless (on windows machines), because it can do whatever libcurl does
(I think). :(
The only advantage would be to have a portable code to other platforms (only
the connection detection would be platform dependant).
The problem I have is when you have auto proxy configuration (through PAC
files) (see http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-
live.html ) you have to parse that configuration file (that also works on Linux
or any platform where Mozilla/Netscape works) which is a bit complicated for
If anyone have such a parser in C or C++ it'd be glad to try it :)
Received on 2001-08-23