Access violation reading 0x00000010

Chris Angelico rosuav at gmail.com
Thu Apr 28 08:03:16 CEST 2011


On Thu, Apr 28, 2011 at 4:01 PM, yuan zheng <tsinghuayuan86 at gmail.com> wrote:
>
> libcommon = CDLL("c:\libcommon-0.dll", RTLD_GLOBAL)
>
> libcommon.SIM_init()     -> This is the invoking.

When you have a backslash in a literal string, you need to double it:
libcommon = CDLL("c:\\libcommon-0.dll", RTLD_GLOBAL)

I don't know if that's your problem, but it could be!

Chris Angelico



More information about the Python-list mailing list