Also the problem is that the MSVC++ compiler is munging them in a weird fashion as "Add@MyMathFuncs@MathFuncs@@SANNN@Z" instead of just "Add".How do I make my compiler build the dll in a proper way? Please advice. -- Posted via http://www.ruby-forum.com/.