statically linking extensions to ruby & ext/Setup

P

Phil Tomson

The README in the toplevel directory of the Ruby source says to uncomment
any modules listed in ext/Setup that you want statically linked to your
ruby.exe

I did this with Win32API, my question is how do I then use Win32API from
my programs? Do I still have to 'require "Win32API"'? (that doesn't work)
Or is Win32API supposed to now be like other built-ins like Array?
(ie. can I just start using methods in Win32API without 'require'ing
it? That doesn't seem to be the case either).

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top