Proxy with login/password not working

Hello everyone,

I have a problem using MapWinGIS with a proxy that has a login/password.

I’ve also tried MapWindow without success… Do you know of any anomaly?

The component works perfectly with a proxy without login/password.

I’ve tried modifying the :

SetProxyAndAuthentication

without success so far…

My configuration in MapWindow :

image

My configuration in MapWinGIS :

image

Thanks for your help!

After several days of tests and modifications, I’ve finally got my proxy working with a login/password!
Now I just have to figure out how to solve the problem with NTLM…

/* Does not work with a proxy using a login / password to be replaced by : CURLOPT_PROXYUSERPWD */
//curlCode = curl_easy_setopt(curl, CURLOPT_USERNAME, (LPCTSTR)userName);
//curlCode = curl_easy_setopt(curl, CURLOPT_PASSWORD, (LPCTSTR)password);

std::string proxyCredentials = userName + ":" + password;

curlCode = curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, proxyCredentials.c_str());