Building Extensions

I'm trying to write a Ruby extension to access some C++ drivers that are part of the project I'm working on. I could really use a simple Visual Studio example or walk-through on the basic process.

The code itself shouldn't be a problem, but I haven't been able to build and use even a simple example (e.g., http://www.rubygarden.org/ruby?WritingExtensionInCpp).

Any pointers or advice would be most appreciated.
--Mike