# RoR and Ruby/DL on WinXP

**URL:** <https://www.ruby-forum.com/t/ror-and-ruby-dl-on-winxp/130964>\
**Category:** Rails\
**Created:** [March 4, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/ror-and-ruby-dl-on-winxp/130964 "2008-03-04T20:36:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e274bd/32.png) [@abg](https://www.ruby-forum.com/u/abg)\
**Post date:** [March 4, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/ror-and-ruby-dl-on-winxp/130964/1 "2008-03-04T20:36:45Z")

</div>

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](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
