From: ts Date: 2003-04-14T23:44:05+09:00 Subject: Re: [BUG], ruby 1.6.8 (2002-12-24) [i586-mswin32] >>>>> "d" == daniel writes: d> cRubyVServCli = rb_define_class("RubyVServCli", rb_cObject); Be sure to define IMPORT (perhaps with NT=1) when you compile your extension, otherwise you can't access rb_cObject d> Beep(100,100); d> // ruby_define_method(cRubyVServCli, "rPAAbout", rPAAbout, 0); ^^^^ this is rb_define_method() Guy Decoux