From: Tea Figuric Date: 2007-02-28T09:37:15+09:00 Subject: Re: a little help with importing c library I got it!! in case another lost soul needs it, here is how: require 'qfinterface' require 'Win32API' puts "hello" CreateSession = Win32API.new("qfinterface","CreateSession",["P"],"I") def main() puts "hello" check = CreateSession.call("mystring") end main() -- Posted via http://www.ruby-forum.com/.