From: "U.Nakamura" Date: 2002-04-12T17:13:42+09:00 Subject: Re: Ruby and MSVC++ Hello, In message "Re: Ruby and MSVC++" on Apr.12,2002 16:58:45, wrote: | cl -DIMPORT -nologo -DNT=1 -Zi -MD -O2b2xg- -G5 -I. -Id:/ruby-1.6.7-mswi | n/lib/ruby/1.6/i586-mswin32 -I. -Id:/ruby-1.6.7-mswin/include -c tstruby.cpp | tstruby.cpp | tstruby.cpp(25) : error C2664: 'rb_define_method' : cannot convert parameter | 3 f | rom 'unsigned long (unsigned long)' to 'unsigned long (__cdecl *)(...)' | None of the functions with this name in scope match the target type | tstruby.cpp(26) : error C2664: 'rb_define_method' : cannot convert parameter | 3 f | rom 'unsigned long (unsigned long,unsigned long)' to 'unsigned long (__cdecl | *)( | ...)' | None of the functions with this name in scope match the target type | NMAKE : fatal error U1077: 'cl' : return code '0x2' | Stop. Hmm, are you really need to use C++ ? If not, change the suffix to `.c'. If you need to use C++, sorry, I can't help you. We should call C++ guru. Regards. -- U.Nakamura