From: di vi on 10 Feb 2010 23:34 Also the problem is that the MSVC++ compiler is munging them in a weird fashion as "Add(a)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/.
From: di vi on 11 Feb 2010 01:12 Solved .Thank you all and specifically Albert Schlef -- Posted via http://www.ruby-forum.com/.
From: Martin DeMello on 11 Feb 2010 02:54
On Thu, Feb 11, 2010 at 2:37 AM, Albert Schlef <albertschlef(a)gmail.com> wrote: > > Or create some 'extern "C"' wrapper functions for your methods. This is the right thing to do, and will save you headaches in the long run, even if inspecting the DLL for symbols is quicker and easier right now. martin |