>>>>> "B" == =?ISO-8859-1?Q?Bernhard Gl=FCck?= <jglueck / vol.at> writes: B> String callString = "On"; B> callString += m_msg; B> callString += "()"; ^^^^^^^^^^^^^^^^^^ remove this line B> // Generated for the method B> ID callId = rb_intern( callString ); callString contains "OnFire()" callId will not have the same value than rb_intern("OnFire"), which is the right value B> // Now create the parameter array for the call... B> Array<VALUE> args; B> LogInfo(("Calling ruby object: %s::%s",rb_class2name( val ),(const B> char *)callString ) ); B> if ( rb_respond_to( val,callId ) ) B> { B> // And make the script call B> rb_funcall2( val,callId,args.Size(),args.Begin() ); B> } Guy Decoux