472,368 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,368 software developers and data experts.

wxPython installation interferes with win32ui/win32gui

As soon as I install wxPython on a Py2.3.5, my win32ui / win32gui apps
freak out. buttons in dialogs are magically pressed. backgrounds of
dialogs are colored wrong...

this is with current wxPython (it was the same situation with a wx
version some months back)

When I uninstall wxPython the other win32ui/win32gui apps work again.
What could be the reason?

I made a full file comparison in the c:\Python23 tree: wx installed vs.
wx uninstalled. Besides the wx things in site-packages only ..

c:\Python23\pythonw.exe.manifest
c:\Python23python.exe.manifest

... and things in "c:\Python23\Scripts" are written/changed. nothing in
site-packages/pythonwin and site-packages/win32* is changed by the wx
installer. Or does the wx installer change something in the DLL's in
\windows or worse...?

-robert
Oct 13 '06 #1
3 1812
robert wrote:
>
c:\Python23\pythonw.exe.manifest
c:\Python23python.exe.manifest
I found out that in fact when I move away these 2 files to a backup
location after a wx installation, things go well again.

What at all do this .manifest files do ?
And why do win32ui apps freak out, when these are present?
Have post the content of pythonw.exe.manifest below.
Are wx apps affected in a bad way, if I remove those files for ever?

-robert
================================================== ======
C:\python23\pythonw.exe.manifest
================================================== ======
<?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>

Oct 13 '06 #2
At Friday 13/10/2006 19:33, robert wrote:
c:\Python23\pythonw.exe.manifest
c:\Python23python.exe.manifest

I found out that in fact when I move away these 2 files to a backup
location after a wx installation, things go well again.

What at all do this .manifest files do ?
And why do win32ui apps freak out, when these are present?
Have post the content of pythonw.exe.manifest below.
Are wx apps affected in a bad way, if I remove those files for ever?
This manifest file tells Windows how to apply visual styles to the
application. It's a nightmare to make it work reliably across Windows
versions. Just delete the .manifeest file and forget about it...
--
Gabriel Genellina
Softlab SRL

__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas

Oct 13 '06 #3
Gabriel Genellina wrote:
At Friday 13/10/2006 19:33, robert wrote:
c:\Python23\pythonw.exe.manifest
c:\Python23python.exe.manifest

I found out that in fact when I move away these 2 files to a backup
location after a wx installation, things go well again.

What at all do this .manifest files do ?
And why do win32ui apps freak out, when these are present?
Have post the content of pythonw.exe.manifest below.
Are wx apps affected in a bad way, if I remove those files for ever?

This manifest file tells Windows how to apply visual styles to the
application. It's a nightmare to make it work reliably across Windows
versions. Just delete the .manifeest file and forget about it...

Thanks, in fact in the wx Installer there is also an option to suppress
the installation of this files - but the name of this checkbox sounds so
harmless, that I'd never expect it to have such serious consequences.
Why is this checkbox ON in the installer by default when it is not
necessary for successful use of wx?

And I'd still like to understand the reason why win32ui apps at all can
do such strange things like magic automatic pressing of buttons, when
this .manifest is active. (This caused some serious trouble here the
first time, because this win32 tool did some real business transactions
as OK-buttons were pressed automatically repeatedly until I could
shutdown the app in the taskmanager..)

-robert
Oct 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Me Mine | last post by:
i, I have trying to code a small console app that will allow a user to select a window and then create a screen capture of the window. I haven't been able to figure out how to do the screen...
1
by: James Hu | last post by:
Hi, There are 2 wxPython application, A and B and need to exchange msg. Sending WM_CLOSE, wxEVT_MOUSEWHEEL to B is OK, and sending user message like 1225 from A to B is also OK. But B didn't...
4
by: jojoba | last post by:
HI I wrote a little wxpython program with an embedded windows media player. It worked great. Recently, I reinstalled windows and then wxpython (most likely a newer version than i had before). Now...
5
by: nobugus | last post by:
Just posting a solution to the problem of capturing the whole virtual screen area, including all monitors with python and pywin32. Because this doesn't work even with PIL's imagegrab module. ...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.