There are some utility programs that let you look into a library and see
the symbols exposed. This way you see how the compiler mangled them. For
example, in linux you can do `nm -D library.so`.
Or create some 'extern "C"' wrapper functions for your methods.
There are some utility programs that let you look into a library and see
the symbols exposed. This way you see how the compiler mangled them.
(It goes without saying that if you distribute your source code,
somebody may use a compiler which mangles the names differently and your
ruby/dl won't see them anymore.)
There are some utility programs that let you look into a library and see
the symbols exposed. This way you see how the compiler mangled them.
(It goes without saying that if you distribute your source code,
somebody may use a compiler which mangles the names differently and your
ruby/dl won't see them anymore.)
I used PE explorer and saw the dill in disassembler.Attached is the
picture showing its names.Please advice.
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?