On Thu, Apr 28, 2011 at 4:01 PM, yuan zheng <tsinghuayua...@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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to