Hi!
How might you suggest that I detect the location of the proxy server, as configured in a PAC script?
Proxies can be configured in a number of ways. One way that many large companies use, is a script which is located on a server. This script is usually javascript (using a few non-standard functions). (this makes it impossible to "just execute the javascript")
When the browser needs to make a connection, it downloads and executes the script -- which then determines whether a proxy is required -- and which one to use.
Currently, I do this:
1) In a C# DLL -- I call "DefaultWebProxy"
2) From my C++ code, I load and remotely execute the DLL
This used to work, but is now causing a fatal crash... so bad, that my crash detection code cannot catch it. Seems like it might be a stack error? Not sure, as the debugger doesn't seem to have a problem with it.
Anyhow, I was wondering whether anyone had another way to do this.