[issue5019] Specifying common controls DLL in manifest

Martin v. Löwis report at bugs.python.org
Mon Feb 9 23:58:13 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

It looks like it should be possible to bind to a different comctl32.dll
than what gets loaded by the host application. See this KB article:

http://support.microsoft.com/default.aspx/kb/830033

which even claims that you should be able to do so with manifests
(notice how you need to define ISOLATION_AWARE_ENABLED to get different
versions of CreateWindowEx etc); also see the .NET code on how they use
explicit activation contexts 

Also see

http://blogs.msdn.com/junfeng/archive/2007/06/26/rt-manifest-resource-and-isolation-aware-enabled.aspx

for an explanation what resources must be defined so that a DLL can bind
to a different version than the rest of the process.

I think you want to put the comctl32 manifest binding into RT_MANIFEST
resource 2 (not 1, as you probably had tried so far).

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5019>
_______________________________________


More information about the Python-bugs-list mailing list