From: nobu.nokada@... Date: 2002-06-17T19:11:46+09:00 Subject: Re: help needed with C extension Hi, At Mon, 17 Jun 2002 18:06:02 +0900, Ian Macdonald wrote: > The extension is properly loaded and initialised, but when calling > passwd_init(), foo gets set to an empty string, not "foobar". I can't > figure out why this is. Password is supposed to be a subclass of > String. You don't call String#initialize, you need to call rb_enable_super() in Init_Crack() and rb_call_super() in passwd_init(). -- Nobu Nakada