How to load the DLL with PyRun_SimpleString?
link0937 at hotmail.com
Tue Sep 23 09:49:26 CEST 2003
Have anyone know how to import the DLL in C program?
Actually, I have used the statement 'PyRun_SimpleString' to import .PY,
r = PyRun_SimpleString("import os");
It's be fine.
If importing the DLL by this commdand,
r = PyRun_SimpleString("import example");
return the error code -1.
Should any advice, let me know whatever you try...
Thanks in advance.
More information about the Python-list