Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Mac OS X doesn't use .DLLs. And to create one, you'd need a Windows IDE, which wouldn't run on OS X either.

I'm sure there are Windows developers here, but I think you really need a Windows development support site/forum. Your problem got me thinking, but I'm sooo not current and wouldn't be a lot of help these days.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.