48a49,51 > // Default behavior is to use IE proxy > bool useIEproxy=true; > 249a253,269 > //MessageBox(parent,url,0,MB_OK); > > lstrcpyn(buf, url, 11); > if (!lstrcmpi(buf, "/NOIEPROXY")) { > // In case of "/NOIEPROXY" or "/NOIEPROXY=1" IE proxy is disabled.. > if (!lstrcmpi(url, "/NOIEPROXY") || !lstrcmpi(url, "/NOIEPROXY=1")) { > useIEproxy=false; > // MessageBox(parent,"IE proxy is disabled",0,MB_OK); > //} else { > // MessageBox(parent,"IE proxy is enabled",0,MB_OK); > } > > popstring(url); > //} else { > //MessageBox(parent,"IE proxy flag not found",0,MB_OK); > } > 314c334 < if (RegOpenKeyEx(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings",0,KEY_READ,&hKey) == ERROR_SUCCESS) --- > if (useIEproxy && RegOpenKeyEx(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings",0,KEY_READ,&hKey) == ERROR_SUCCESS)