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 >> c++-sig
c++-sig
[C++-sig] Re: Extension DLLs nonfunctioning with MSVC 7.1 (beta)
by David Abrahams other posts by this author
Oct 23 2003 1:39PM messages near this date
Re: [C++-sig] Extension DLLs nonfunctioning with MSVC 7.1 (beta) | [C++-sig] The "return always existing pointer throws dangling error" problem
Raoul Gough <RaoulGough@[...].uk>  writes:

>  When I build the Python tests with MSVC (7.1 beta, version 13.10.2292)
>  I get non-functioning DLLs. With a debug build, importing an extension
>  module into Python aborts silently, and with the release builds it
>  reports "ImportError: DLL load failed: Invalid access to memory
>  location." I'm reasonably sure this was working a couple of weeks ago.
> 
>  I can report more details if necessary, but maybe somebody already has
>  experience with this happening? A sample link and test run follows
>  (lines manually wrapped). I'm using the indexing_v2 branch in
>  boost/python/suite/indexing and libs/python, and the CVS head
>  everywhere else. The problem occurs with the new indexing tests and
>  the existing tests I've tried as well (e.g. crossmod_exception.py).


It's working for me with vc7.1 release and a debug-python build:

cd c:/boost/libs/python/test/
myjam -sTOOLS=vc7.1 -sBUILD=debug-python test
...patience...
...found 3623 targets...
...updating 304 targets...
...
vc-Link c:\build\bin\boost\libs\python\test\embedding.test\vc7.1\debug-python\embedding.exe
   Creating library c:\build\bin\boost\libs\python\test\embedding.test\vc7.1\debug-python\em
bedding.lib and object c:\build\bin\boost\libs\python\test\embedding.test\vc7.1\debug-python
\embedding.exp
execute-test c:\build\bin\boost\libs\python\test\embedding.test\vc7.1\debug-python\embedding
.run
        1 file(s) copied.
**passed** c:\build\bin\boost\libs\python\test\embedding.test\vc7.1\debug-python\embedding.t
est
vc-C++ c:\build\bin\boost\libs\python\test\crossmod_exception_a.pyd\vc7.1\debug-python\cross
mod_exception_a.obj
crossmod_exception_a.cpp
vc-Link c:\build\bin\boost\libs\python\test\crossmod_exception_a.pyd\vc7.1\debug-python\cros
smod_exception_a_d.pyd c:\build\bin\boost\libs\python\test\crossmod_exception_a.pyd\vc7.1\de
bug-python\crossmod_exception_a.lib
   Creating library c:\build\bin\boost\libs\python\test\crossmod_exception_a.pyd\vc7.1\debug
-python\crossmod_exception_a.lib and object c:\build\bin\boost\libs\python\test\crossmod_exc
eption_a.pyd\vc7.1\debug-python\crossmod_exception_a.exp
vc-C++ c:\build\bin\boost\libs\python\test\crossmod_exception_b.pyd\vc7.1\debug-python\cross
mod_exception_b.obj
crossmod_exception_b.cpp
vc-Link c:\build\bin\boost\libs\python\test\crossmod_exception_b.pyd\vc7.1\debug-python\cros
smod_exception_b_d.pyd c:\build\bin\boost\libs\python\test\crossmod_exception_b.pyd\vc7.1\de
bug-python\crossmod_exception_b.lib
   Creating library c:\build\bin\boost\libs\python\test\crossmod_exception_b.pyd\vc7.1\debug
-python\crossmod_exception_b.lib and object c:\build\bin\boost\libs\python\test\crossmod_exc
eption_b.pyd\vc7.1\debug-python\crossmod_exception_b.exp
python-test-target c:\build\bin\boost\libs\python\test\crossmod_exception.test\vc7.1\debug-p
ython\crossmod_exception.test
running...
Done.
[5420 refs]
...

I'm testing the release build now, but I expect similar results.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Raoul Gough
Raoul Gough
Raoul Gough
Niall Douglas
Christophe Pradal
Raoul Gough
Christophe Pradal
Niall Douglas
David Abrahams

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