Jesus, it was easier than I though. test = Win32API.new("mydll","mymethod", 0) test.call(10, 120, 1, 233) -- Posted via http://www.ruby-forum.com/.