I have found my question's answer. The fault is sourced
from the implement of SIM_init().
Thanks a lot.
thanks,
yuanzheng.
2011/4/28 yuan zheng
> Sorry , the path is just an example.
>
> This is not the question I think. Because there is lots of api
> in libcommon-0.dll
28 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 n
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 in
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:
libcommon.SIM_init()
WindowsError: exception: access violatio
Hi, everyone:
I encouter a problem: I invoke some c libraries in python
through the api "CDLL".Possibly, there is sth. wrong in my c libraries.
It would appear segment fault when executing some func in c libraries
which invoked through "CDLL". How can I debug?
I attempted to debug it with
n implement commands with '-',
but I can't let completion works well.
thanks,
yuanzheng.
2011/3/10 Dave Angel
> On 03/10/2011 01:38 AM, yuan zheng wrote:
>
>> Thanks for your help.
>>
>>
>> thanks,
>> yuanzheng.
>>
>> 2011/3/8 Dave
og-busls
list-
NOTHING...
-
The mean is that when I input "l", and then hit "TAB", it can list all optional
cmd.
But when I input "list-", and then hit "TAB", there is nothing.
thanks,
yuanzheng.
20
Thanks for your help.
thanks,
yuanzheng.
2011/3/8 Dave Angel
> On 01/-10/-28163 02:59 PM, yuan zheng wrote:
>
>> Hello, everyone:
>>
>> I encouter a question when implementing a commmand line(shell).
>> I have implemented some commands, such as "start&q
Hello, everyone:
I encouter a question when implementing a commmand line(shell).
I have implemented some commands, such as "start", "stop", "quit",
they are easily implemented by "do_start", "do_stop" and "do_quit".
there are no troubles.
But I want to implement some commands like these "