On 14 Jul 2009, at 11:19, Gin Mendi wrote: > A new ruby user here. I want to try using ruby to use an API for > accessing and retrieving data from a server. After doing some > research I > learned about ruby/dl and tried the following in irb: > > ENV['PATH'] += ";C\\projects\\test\\lib" # to include the > dependecies of > the API > require 'dl/import' > > 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