Different DLLs loaded depending on ini file location
Posted: January 28th, 2009, 10:19 am
Well, I wonder whether this is a bug or a feature or whatever...
I am running SABnzbd on Windows XP behind a corporate http(s) Microsoft ISA proxy.
Since the proxy allows to CONNECT to port 443 a 563 of external hosts, I can use Proxifier (http://www.proxifier.com/) toghether with a SSL nntp account on eu.secure.news.astraweb.com:443.
This setup works well with NewsBin.
This setup works well with SABnzbd when using the ini file located in the user profile, i.e. "C:\Documents and Settings\Administrator\Local Settings\Application Data\sabnzbd\sabnzbd.ini".
Unexpectedly, it does not work when using an identical ini file located in "C:\Program Files\SABnzbd\".
It does not connect to the remote server, and Proxifier reports no connections and no tentative connections.
It does not matter whether the ini file is explicitly assigned with the -f switch or it is automatically located.
The log file reports lots of
2009-01-28 16:03:40,703::ERROR::[newswrapper] Failed to connect: (10060, 'Operation timed out') [email protected]:443
which is to be expected when the remote server is not reachable.
Using tlist command (Microsoft (R) Windows NT (TM) Version 3.51 TLIST, I believe it is from the Windows Server Resource Kit) I can see that when running from the user profile the process SABnzbd.exe loads some additional dinamic library files:
uxtheme.dll
MSCTF.dll
netapi32.dll
appHelp.dll
CLBCATQ.DLL
COMRes.dll
iertutil.dll
urlmon.dll
PrxDrvPE.dll
Those 9 DLLs are not loaded when running from the program directory.
PrxDrvPE.dll does make the difference here, because that is the thing that redirects network calls to Proxifier.
The bottom line is that the availability of a ini file in the user profile seems to trigger a very different code path in SABnzbd.
I am running SABnzbd on Windows XP behind a corporate http(s) Microsoft ISA proxy.
Since the proxy allows to CONNECT to port 443 a 563 of external hosts, I can use Proxifier (http://www.proxifier.com/) toghether with a SSL nntp account on eu.secure.news.astraweb.com:443.
This setup works well with NewsBin.
This setup works well with SABnzbd when using the ini file located in the user profile, i.e. "C:\Documents and Settings\Administrator\Local Settings\Application Data\sabnzbd\sabnzbd.ini".
Unexpectedly, it does not work when using an identical ini file located in "C:\Program Files\SABnzbd\".
It does not connect to the remote server, and Proxifier reports no connections and no tentative connections.
It does not matter whether the ini file is explicitly assigned with the -f switch or it is automatically located.
The log file reports lots of
2009-01-28 16:03:40,703::ERROR::[newswrapper] Failed to connect: (10060, 'Operation timed out') [email protected]:443
which is to be expected when the remote server is not reachable.
Using tlist command (Microsoft (R) Windows NT (TM) Version 3.51 TLIST, I believe it is from the Windows Server Resource Kit) I can see that when running from the user profile the process SABnzbd.exe loads some additional dinamic library files:
uxtheme.dll
MSCTF.dll
netapi32.dll
appHelp.dll
CLBCATQ.DLL
COMRes.dll
iertutil.dll
urlmon.dll
PrxDrvPE.dll
Those 9 DLLs are not loaded when running from the program directory.
PrxDrvPE.dll does make the difference here, because that is the thing that redirects network calls to Proxifier.
The bottom line is that the availability of a ini file in the user profile seems to trigger a very different code path in SABnzbd.