Hi Andres,

>Anyone have procedures to create an extension for ruby within the win32
>environment.
>Which compiler, version, and other necessities.
>
Well, I've been using Cygwin. It's easy and hasslefree and works "out of the 
box". See www.cygwin.com.

But it should work also with other win32 compilers/ides like MS VC++. 
General rule is that if you can download and compile ruby then it will work 
doing extensions.

Steps when the tools are there:

1. Create your extension in C. You must:
     a, #include "ruby.h"
     b, void Init_XXX() {
         // Make your C funcs known to Ruby, create classe etc
        }

2. Create extconf.rb file. Minimal is:
     require 'mkmf'
     create_makefile('XXX')

3. Run "ruby extconf.rb" to generate Makefile

4. make

5. make install (if no errors...)

For details see README.EXT in ruby tarball. Also download an extension from 
RAA and take a look.

Regards,

Agnot

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.