On Fri, 6 May 2016 01:42 am, Joseph L. Casale wrote:

> I have CDLL function I use to get a pointer, several other functions
> happily accept this pointer which is really a long when passed to
> ctypes.c_void_p. However, only one with same type def in the prototype
> overflows. Docs suggest c_void_p takes an int but that is not what the
> first call returns, nor what all but one function happily accept?
> 
> Anyone familiar enough with ctypes that can shed some light?

I'm not a ctypes expert, but you might get better responses if you show the
code you're using, the expected result, and the result you actually get.



-- 
Steven

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to