From: pseudoman4@... Date: 2006-03-14T00:33:44+09:00 Subject: Re: Extension module: Why does object get GCed? Yeah! rb_gv_set instead of rb_define_variable works perfectly well! Lots of thanks to "ts" ps: what i'm doing is to extend a existing c++ app with scripting capabilities. Now it is possible to access wrapped c++ objects with a ruby script. This allows rapid prototyping and stuff like that