Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3096

Using the win32api

From antoine crouzi <bourinax@yopmail.com>
Newsgroups comp.lang.ruby
Subject Using the win32api
Date 2011-04-18 06:13 -0500
Organization Service de news de lacave.net
Message-ID <bdf6302ceb249eaa3dc7d09019f96be1@ruby-forum.com> (permalink)

Show all headers | View raw


Hi all,

I'm trying to use the win32api, in the Sketchup ruby API. then loading
the package with

require "win32api"

I get the following error :

no such file to load -- win32api

I'm using this page as a reference :
http://www.ruby-doc.org/docs/ProgrammingRuby/html/lib_windows.html.

Am I doing something wrong ? do I need to install a gem before using the
api ?

I'm on windows with ruby 1.8.6, installed via the windows binary
package. I think it might be a problem with the ruby paths.

I have search for a file called win32api in the ruby installation
directory, there is a .so file, but no .rb file.

Thanks,

Futar

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Using the win32api antoine crouzi <bourinax@yopmail.com> - 2011-04-18 06:13 -0500
  Re: Using the win32api Luis Lavena <luislavena@gmail.com> - 2011-04-18 13:37 -0700
    Re: Using the win32api/Open file Michaile Wirachmat <wirachmatc@live.com> - 2011-04-18 20:47 -0500
  Re: Using the win32api "futar C." <bourinax@yopmail.com> - 2011-04-19 04:45 -0500
  Re: Using the win32api "futar C." <bourinax@yopmail.com> - 2011-04-19 07:02 -0500

csiph-web