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

2011-12-15 Thread Mark Hammond

On 19/11/2011 3:23 AM, Robert wrote:

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?


I've no idea - that sounds really strange.


What does this Common-Control section actually do?


I believe it says a new version of the commctrl library which does xp 
themes should be used by the app.


Cheers,

Mark
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


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

2011-11-18 Thread Robert
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
/
descriptionPython 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

?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
?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
/
descriptionPython 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
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32