BPL: include breaks import in IDLE
by other posts by this author
Feb 21 2001 8:18PM messages near this date
Unsubscirbe
|
Re: [boost] BPL: include breaks import in IDLE
I am wrapping a class with BPL which does I/O.
BPL works great when I create the wrapper code (single thread)
but when I try to
#include python.h
in the original code's header file (I need to wrap the original C++
code with the Py_BEGIN_ALLOW_THREADS Macros), the rebuilt dll fails
to load under IDLE or PythonWin.
eg:
> >> import PTW
Traceback (innermost last):
File <interactive input> , line 1, in ?
ImportError: DLL load failed: The specified module could not be found.
Is there some trick I am missing here?
Does BPL has an analogous Macro for making the class multithreaded?
This is going to be used in a multithreaded Python app and has to
allow this behavior.
Best Regards,
Ron
Thread:
David Abrahams
|