[C++-sig] boost python in visual c++ 2008

2009-04-19 Thread glok_twen
hi. i have used boost python to create the sample from the doc within visual studio. a dll has resulted. but when i copy that dll to any of numerous places on my path, and run a python shell, i keep getting: ImportError: no module named hello Here is the code, it's contained in 2 modules withi

Re: [C++-sig] boost python and shared_ptr

2009-04-19 Thread Renato Araujo
I don't know if this is exactly what do you want. take a look in this doc: http://www.boost.org/doc/libs/1_36_0/libs/python/doc/v2/faq.html#xref BR On Sun, Apr 19, 2009 at 10:12 AM, Denis wrote: > Hi, sorry for my English, > but I hope you will understand and help me find solution. > Thanks!

[C++-sig] boost python and shared_ptr

2009-04-19 Thread Denis
Hi, sorry for my English, but I hope you will understand and help me find solution. Thanks! there are C++ (pseudo) code: class A { public: void test() { printf(__FUNCTION__); } } shared_ptr gA; shared_ptr GetA() { return gA; } //wrapping code: class_ , boost::no