On Fri, Jun 26, 2009 at 6:49 AM, horace
<horace3d@gmail.com> wrote:
On Fri, Jun 26, 2009 at 3:39 AM, Greg Ewing
<greg.ewing@canterbury.ac.nz> wrote:
horace wrote:
error C2664: 'LoadIconA' : cannot convert parameter 1 from 'void *' to 'HINSTANCE'
cdef extern from "windows.h":
ctypedef void *PVOID
ctypedef PVOID HANDLE
ctypedef HANDLE HINSTANCE
It looks like windows.h is not defining HINSTANCE as void *.
You'll need to find out how it is defined and do something
compatible in Pyrex.
hm... yeah, i found the definition with google but now i checked again
and it seems that it sometimes gets defined differently. i will
try to find it on my harddisk but this could be a bit tricky since it
doesn't seem to be defined in windows.h.
thanks for your help!
--
Greg