Alex Holkner wrote:
> Ah, ok.  I think I've found the problem, but I'm not near a Windows
> computer.  If you feel like delving in a bit, open
> pyglet/window/win32/types.py (installed in lib/site-packages of your
> Python installation) and change line 78 from
>
>         ('lpszMenuName', c_char_p),
>
> to
>
>         ('lpszMenuName', c_wchar_p),
>

I tried that and I got the same error. It seems to be another bug. I
dug a bit into the pyglet code, and found that it could be an error
with the window style when calling CreateWindowExW inside
Win32Window._create(). When I change the style from self._ws_style to
CW_USEDEFAULT pyglet seems to run fine. I really don't know why it
doesn't work for any other style, even WS_OVERLAPPEDWINDOW. I will dig
a little more and see what I can find.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to