ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
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


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved