From: Eleanor McHugh Date: 2010-01-31T23:22:17+09:00 Subject: Re: newbie question: Accessiong non-Windows DLL's On 29 Jan 2010, at 22:24, Rich Maniscalco wrote: > That didn't work. I am going to rebuild Ruby and my DLL's using VC++ > version 9. Hopefully that will resolve the issues. I'll report the > outcome. I've not used Windows for development in about seven years so take the following with a pinch of salt. Ruby/DL allows dynamic loading of Windows DLLs and ships as part of Ruby's standard library. You'll find links to what exists in the way of English documentation in the Ruby Plumber's Guide to Unix presentation linked to in my signature, but unfortunately there's very little documentation online regarding its use under Windows. At the least you'll have to figure out the function signatures for the DLL routines you want to access by trial and error and there'll probably also be issues with type conversion... An alternative would be to rewrite your DLLs as Windows COM servers so you could use the WinOLE library to access them. Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason