sorry,the source is a .cpp file
and i change to a .c file with the change delete
RUBY_METHOD_FUNC() ,i can build a dll file ,but when use in .rb file the
error still occurs.
----- Original Message ----- 
From: "nobuyoshi nakada" <nobuyoshi.nakada / ge.com>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Wednesday, June 29, 2005 9:48 AM
Subject: Re: Extend Ruby with c error


> Hi,
>
> At Wed, 29 Jun 2005 10:11:10 +0900,
> liubin wrote in [ruby-talk:146723]:
> > source code of Test.dll:
>
> What's the name of this file?  Maybe, .cpp file?
>
> -- 
> Nobu Nakada