Have you tried using SWIG?
Visit http://www.swig.org

Regards
Clemens

> -----Ursprgliche Nachricht-----
> Von: Matthias Lampert [mailto:ml / sph.de]
> Gesendet am: Donnerstag, 21. Juni 2001 10:08
> An: ruby-talk / ruby-lang.org
> Betreff: [ruby-talk:16680] embedding C++
> 
> Hi!
> 
> One Question:  Does anybody here have experience embedding
> existing C++ classes into Ruby?  Building a Ruby wrapper around 
> them and compiling everything with g++ does not do the trick, 
> does it?
> 
> Thank you. 
> 
> --
> 
> Hippo (aka Matthias Lampert, Hamburg)
> Just another XP and Ruby fan
>