Well, a ctypes guy tell me to install gdiplus, so now the prompt
becomes to:
>>> from pyglet import window
>>> from pyglet import font
>>> win = window.Window()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "G:\python24\Python24\lib\site-packages\pyglet\window
\win32\__init__.py", line 389, in __init__
super(Win32Window, self).__init__(*args, **kwargs)
File "G:\python24\Python24\lib\site-packages\pyglet\window
\__init__.py", line 608, in __init__
self._create()
File "G:\python24\Python24\lib\site-packages\pyglet\window
\win32\__init__.py", line 451, in _create
_check()
File "G:\python24\Python24\lib\site-packages\pyglet\window
\win32\__init__.py", line 1109, in _check
raise Win32Exception(msg.value)
pyglet.window.win32.Win32Exception: invalid handle。
Gdiplus.dll File Version Information :
Version language : English(USA)
CompanyName : Microsoft Corporation
FileDescription : Microsoft GDI+
FileVersion : 5.1.3102.2180 (xpsp_sp2_rtm.040803-2158)
InternalName : gdiplus
LegalCopyright : ? Microsoft Corporation. All rights reserved.
OriginalFilename : gdiplus
ProductName : Microsoft? Windows? Operating System
ProductVersion : 5.1.3102.2180
Creation Date : 2007/09/07 01:13:04
Last Modif. Date : 2007/07/20 00:31:38
Last Access Date : 2007/09/07 00:00:00
FileSize : 1717584 bytes ( 1677.328 KB, 1.638 MB )
FileVersionInfoSize : 1780 bytes
File type : Dynamic Link Library (0x2)
Target OS : Win32 API (Windows NT) (0x40004)
File/Product version : 5.1.3102.2180 / 5.1.3102.2180
Language : Englis(USA) (0x409)
Character Set : 1200 (ANSI - Unicode (BMP of ISO 10646)) (0x4B0)
Any hint? thanx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---