boost::python problem with std::string

"Sergey Makovkin" <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
    Hello!

I am developing the engine for an RPG game and want to use Boost.python in 
it. But I have a problem. When I call a C++ function with std::string 
argument (or const std::string& ) from python, boost.python crashes! I don't 
know what to do and I hope you can help me.

Here is a link to the source code which demonstrates the problem: 
http://www.powerfly.ru/bug.zip
To compile it, you need MS Visual Studio 2005, Python 2.4 and Boost.Python 
1.33 or later.

-- 
Sergey A. Makovkin 




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.