Re: Access violation reading 0x00000010

2011-04-28 Thread Gabriel Genellina
this api -> SIM_init(). So I wanna which situation would lead to this error: -- WindowsError: exception: access violation reading 0x

Re: Access violation reading 0x00000010

2011-04-28 Thread yuan zheng
-------- > > WindowsError: exception: access violation reading 0x0010 > > -- > > > > thanks, > yuanzheng. > > > 2011/4/28 Chris Angelico > >> On Thu, Apr

Re: Access violation reading 0x00000010

2011-04-27 Thread yuan zheng
lead to this error: -- WindowsError: exception: access violation reading 0x0010 -- thanks, yuanzheng. 2011/4/

Re: Access violation reading 0x00000010

2011-04-27 Thread Chris Angelico
On Thu, Apr 28, 2011 at 4:01 PM, yuan zheng 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

Re: Access violation reading 0x00000010

2011-04-27 Thread yuan zheng
libcommon = CDLL("c:\libcommon-0.dll", RTLD_GLOBAL) libcommon.SIM_init() -> This is the invoking. thanks, yuanzheng. 2011/4/28 Chris Angelico > On Thu, Apr 28, 2011 at 1:00 PM, yuan zheng > wrote: > > Hi, > > everyone. I have a question when I invoke an api which is included a > >

Re: Access violation reading 0x00000010

2011-04-27 Thread Chris Angelico
On Thu, Apr 28, 2011 at 1:00 PM, yuan zheng wrote: > Hi, >     everyone. I have a question when I invoke an api which is included a > library > open by CDLL. And then it will prompt the follow error: How are you invoking it? Chris Angelico -- http://mail.python.org/mailman/listinfo/python-list

Access violation reading 0x00000010

2011-04-27 Thread yuan zheng
violation reading 0x0010 What's the problem? thanks, yuanzheng. -- http://mail.python.org/mailman/listinfo/python-list