[python-win32] manifest "Microsoft.Windows.Common-Controls" version="6.0.0.0" => strange problem with pywin32 build 216 ?

Robert kxroberto at googlemail.com
Fri Nov 18 17:23:55 CET 2011


In C:\Python23 and C:\Python26 installations there are 
python(s).exe.manifest files which contain 
'"Microsoft.Windows.Common-Controls"     version="6.0.0.0"'
(see attached/below)

With pywin32 build 216 (was not in 212; and 214 I guess) win32ui 
apps, which are started by these python(w).exe's , a strange 
auto-magical button pressing is going on, immediately after 
application start. almost any button is pressed when the mouse 
moves.. By chance its possible to stop the show in the Task Manager.

It seems (seen by a debug output), that notification messages 
(BN_.. (Which could be routed via HookNotify?)) or so do trigger 
the normal HookCommand'ed handler.
When that Common-Controls section (or the whole .manifest) is 
removed, the apps work normal in build 216.

What could be the reason?
What does this Common-Control section actually do?

Robert

-- 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" 
manifestVersion="1.0">
<assemblyIdentity
     version="0.64.1.0"
     processorArchitecture="x86"
     name="Python"
     type="win32"
/>
<description>Python Interpreter</description>
<dependency>
     <dependentAssembly>
         <assemblyIdentity
             type="win32"
             name="Microsoft.Windows.Common-Controls"
             version="6.0.0.0"
             processorArchitecture="X86"
             publicKeyToken="6595b64144ccf1df"
             language="*"
         />
     </dependentAssembly>
</dependency>
</assembly>




<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' 
manifestVersion='1.0'>
   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
     <security>
       <requestedPrivileges>
         <requestedExecutionLevel level='asInvoker' 
uiAccess='false' />
       </requestedPrivileges>
     </security>
   </trustInfo>
   <dependency>
     <dependentAssembly>
       <assemblyIdentity
	 type='win32'
	 name='Microsoft.VC90.CRT'
	 version='9.0.21022.8'
	 processorArchitecture='*'
	 publicKeyToken='1fc8b3b9a1e18e3b' />
     </dependentAssembly>
   </dependency>
   <dependency>
     <dependentAssembly>
       <assemblyIdentity
          type="win32"
          name="Microsoft.Windows.Common-Controls"
          version="6.0.0.0"
          processorArchitecture="*"
          publicKeyToken="6595b64144ccf1df"
          language="*" />
     </dependentAssembly>
   </dependency>
</assembly>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python.exe.manifest
Type: text/xml
Size: 920 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-win32/attachments/20111118/7c6c114b/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python.exe.manifest
Type: text/xml
Size: 631 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-win32/attachments/20111118/7c6c114b/attachment-0001.xml>


More information about the python-win32 mailing list