Hi I did the change according to Mathieu's reply and the code compiles ( good news !) but when i try to use it in python i have this message . Does any1 have an idea ? y = hello.FactY.create() TypeError: No to_python (by-value) converter found for C++ type: class std::auto_ptr<struct X> Thx