From: Lyle Johnson Date: 2002-01-18T08:17:34+09:00 Subject: Re: Using DirectX from Ruby (was: this ruby-parser) > Are there any links or help on how to use the DirectX libraries from > Ruby ? Is it a matter of using the COM interfaces or would I need to use > SWIG to somehow wrap the libraries ? Any help is appreciated. If you specifically want to write Ruby code using a DirectX-like programming interface I guess you'd want to use the COM interfaces or something; I won't even go there. But if you just need a means of accessing the DirectX functionality (and don't mind programming against a different API) you might check out the two SDL wrappers for Ruby that are currently listed in the Ruby Application Archive: RUDL (http://froukepc.dhs.org/rudl/index.html) and Ruby/SDL (http://www.kmc.gr.jp/~ohai/index.en.html). Since these are interfaces to SDL, and the Windows implementation of SDL uses DirectX under the hood (right?) this may be the quickest way to get there. Hope this helps, Lyle