"Simon Strandgaard" <0bz63fz3m1qt3001 / sneakemail.com>

> > I tried replacing the above two lines by :
> >
> >      klass = rb_const_get(rb_cObject, rb_intern("Array"));
> >      instance = rb_funcall2(klass, rb_intern("new"), argc, argv);

Sorry, I meant :
            instance = rb_funcall2(klass, rb_intern("new"), n, args);


> > but my program crashed.  Am I missing something ?
>
> Try write this instead:
>
>     klass = rb_const_get(rb_cObject, rb_intern("Array"));
>     instance = rb_funcall2(klass, rb_intern("new"), n, args);
>

But still did not work :-(

Thanks a lot for your attention and support.
-- shanko