WindowsError: exception: access violation

Thomas Jollans t at jollybox.de
Fri Jul 22 06:43:52 EDT 2011


> On Fri, Jul 22, 2011 at 7:47 AM, Benjamin Kaplan wrote:
>     Are you using a Cygwin build of Python? Trying to mix Cygwin with
>     normal Windows programs doesn't usually work very well.

On 22/07/11 06:41, Sathish S wrote:
> Benjamin thanks for replying. i'm not using the python that comes with
> cygwin. Its the regular python 2.7.2

Recompile your DLL with Visual C++ 2008, or use a cygwin build of Python.

I see you are using ctypes.cdll - perhaps you just need to use
ctypes.windll? I'm not too familiar with the ins and outs of ctypes,
cygwin, and windows calling conventions.



More information about the Python-list mailing list