|
Boost : |
From: rcspython_at_[hidden]
Date: 2001-02-21 15:18:39
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk