From: student_vienna@... (daniel) Date: 2003-04-14T23:38:50+09:00 Subject: [BUG], ruby 1.6.8 (2002-12-24) [i586-mswin32] hello, I have an existing DLL which is using the MFC. I going to wrap this dll in ruby and so I wrote a new dll. In the init function of this dll I call... -- VALUE cRubyVServCli; void Init_RubyVServCli() { Beep(100,100); Sleep(1500); cRubyVServCli = rb_define_class("RubyVServCli", rb_cObject); Beep(100,100); // ruby_define_method(cRubyVServCli, "rPAAbout", rPAAbout, 0); } -- This certain shows that the rb_define... function throws this error: -- [BUG] Segmentation fault ruby 1.6.8 (2002-12-24) [i586-mswin32] -- Is there a way to avoid this? Where happened this error? daniel -- I'm using VC