From: Lyle Johnson Date: 2004-08-20T09:58:35+09:00 Subject: Re: Overriding virtual C++ method in Ruby On Fri, 20 Aug 2004 09:34:32 +0900, Tobias Grimm wrote: > Now I would like to derive a C++-Class in a Ruby script, override a virtual > method of the C++ class, return an instance of this new class back to C++ and > then invoke the overridden method. I've no idea, if this is possible at all. Please read up on SWIG's cross-language polymorphism feature (a.k.a. the "directors" feature), described here: http://www.swig.org/Doc1.3/Ruby.html#n25 and here: http://www.swig.org/Doc1.3/Python.html#n32 Hope this helps, Lyle