RoR and Ruby/DL on WinXP

Hi All,

I’m trying to connect to a WinXP address correction DLL using Ruby/DL,
using some perl code as a jumping-off point
(http://www.arcsi.net/codingguide.html#perl16).

I’ve attached my current code, along with what Ruby’s seeing/doing at
each step. I’ve been working on this for days, and can’t get the
ZP4Correct function to return a corrected address.

What I’m looking for is someone who can help me whip up a function that
exposes this DLL’s methods to my Ruby on Rails controller. I’ll be
happy to pay a reasonable amount to complete this project. Please
respond below if you’re interested, or if you can see where I’m going
wrong.

Here’s my configuration:

  • InstantRails 2.0 (RoR 2.0.2, Ruby 1.8.6 Patch Level 111)
  • Windows XP

Thanks,

  • Aaron