Re: [python-win32] Embedded Python & win32api

2008-06-21 Thread Howard Lightstone
> > I'm getting crasy about embedding python-win32 in a c++ application. --snip-- I had the same issue. Here is the sequence I evolved from both 2.2 and 2.5 implementations (and working in production code although this code IS just at part of the stuff): // some tables I use char *plines[]= {

Re: [python-win32] Embedded Python & win32api

2008-06-20 Thread Mark Hammond
> I'm getting crasy about embedding python-win32 in a c++ application. > > PyRun_SimpleString("import win32api") failes with the error message: > > ImportError: No module named win32api. Try setting the "verbose" flag (I can't recall how to spell that via the C API) and you should end up with in

[python-win32] Embedded Python & win32api

2008-06-20 Thread thorsten riesberg
Hello everyone, I'm getting crasy about embedding python-win32 in a c++ application. PyRun_SimpleString("import win32api") failes with the error message: ImportError: No module named win32api. Every thing works fine if i use the PythonShell. The problem is not! related to the actual sys.path.