From: Jerome David Sallinger Date: 2011-12-14T03:54:42+09:00 Subject: Re: Using DLLs with my Ruby app Eleanor McHugh wrote in post #834844: > On 14 Jul 2009, at 11:19, Gin Mendi wrote: >> extend DL::Importable >> >> dlload "myAPI.dll" >> >> extern "void serverLogon(string, string, string, void, void)" > > try: > > extern "void _serverLogon(string, string, string, void, void)" > > > Ellie > > Eleanor McHugh > Games With Brains > http://slides.games-with-brains.net > ---- > raise ArgumentError unless @reality.responds_to? :reason Hi, I am a newbiew to this to but I think I am way behind you in my understanding. Can someone explain why the 'extern' is used here? Is it mandatory to use this if you want to call a method from a dll? -- Posted via http://www.ruby-forum.com/.