I suspect that by using pyglet.media some libs for windows support in pyglet are loaded. It could be that one of the ctypes definitions is wrong. That will impact other people who try to use the same dll. Could you create an issue for this at https://bitbucket.org/pyglet/pyglet/issues ?
Rob Op vrijdag 22 mei 2015 18:20:54 UTC+2 schreef lhc...@gmail.com: > > i found my program could not run if i imported pyglet.media. an example: > > windll.user32.GetCursorPos(int) > > (where int is a memory address in python process) > > raised TypeError: LP_POINT instance expected instead of int. > but it ran correctly without importing pyglet.media. > i may still make the program work, but pyglet is affecting a built-in > module of the official Python and the way a programmer does programming, is > this really necessary? > software version: python 2.75, pyglet 1.2.2/1.2.3a1 32bit > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.