Re: ctypes pointer to pointer
- From: "Podi" <podi.ex@xxxxxxxxx>
- Date: 28 Sep 2006 09:45:51 -0700
Thanks for the help. I've figured it out. BTW, DLL_API is defined as
#ifdef MYDLL_EXPORTS
#define DLL_API __declspec(dllexport)
#else
#define DLL_API __declspec(dllimport)
#endif
size = c_int()
data = c_char_p('\0' * 8)
mydll = cdll.mydll # Use cdll instead of windll to avoid warnings
status = mydll.dll_foo(byref(data), byref(size))
.
- References:
- ctypes pointer to pointer
- From: Podi
- Re: ctypes pointer to pointer
- From: Gabriel Genellina
- ctypes pointer to pointer
- Prev by Date: Re: License / Registration key enabled software
- Next by Date: Re: XSLT speed comparisons
- Previous by thread: Re: ctypes pointer to pointer
- Next by thread: How to update my web automatically by python?
- Index(es):
Relevant Pages
|