Hello again,
I found a workaround solution for my problem. Using Hap Debugger I
discovered that the offending code is in windows2.py line 259:
class wxTaskBarIconPtr(wxEvtHandlerPtr):
...(some code skipped)
def SetIcon(self, *_args, **_kwargs):
#THIS IS THE LINE THAT TRIGGERS THE CRASH
------->val = windows2c.wxTaskBarIcon_SetIcon(self, *_args, **_kwargs)
return val
I've got no idea why this is causing a problem. The workaround solution that
lets me run the demo is commenting out line 260 in main.py, which is:
self.tbicon.SetIcon(icon, "wxPython Demo")
Actually, all that group of code related to the taskbar icon might be
commented out but this is enough. The demo runs.
I hope this helps others that might have the same problem. It has turned out
that (I guess) this is not a UNICODE problem. So Robin, is this sufficient
as a bug report or what? Am I expected to do anything else?
Regards,
Oktay
Hi everybody,
I am trying to run the demo but after displaying the splash screen it
crashes. I used to be able to run the demo with previous versions of
Python
and wxPython but it fails now. Currently I have Python 2.3 and
wxPythonWIN32-2.4.1.2u-Py23.exe installed on Windows Millenium
Edition(Turkish Version).Of course, I looked in the archives for similar problems people might have
had. In one of the messages, Robin Dunn suggests using a program called
DependencyWalker to somebody having the same problem. It turns out that
the
program doesn't live in its homepage anymore, but I managed to find it.
Here
···
are the last couple of lines of its log when I run the demo under it:
GetProcAddress(0xBFF40000 [USER32.DLL], "CreateIconIndirect") called from
"WXMSW24UH.DLL" at address 0x00B3303F and returned 0x83187E20.
GetProcAddress(0xBFF40000 [USER32.DLL], "GetSystemMetrics") called from
"WXMSW24UH.DLL" at address 0x00B3303F and returned 0x83187E30.
Second chance exception 0xC0000005 (Access Violation) occurred at address
0x00000003.
Exited "PYTHONW.EXE" (process 0xFFFCEC5F) with code -1 (0xFFFFFFFF).So, can anybody help me with this???
Regards,
Oktay
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org