07-25-2014, 03:55 AM
Exported class function names will be decorated. Open your dll file with depends.exe and copy the decorated name. QM code could be:
Macro Macro2345
To avoid decoration, export non-class functions. Use either .def file or extern "C".
Or use a COM interface, especially when want to export non-static class functions.
Macro Macro2345
dll "$qm$\math.dll" [?Add@Math@@YANNN@Z]double'Math_Add double'a double'b
out Math_Add(5.7 2)
To avoid decoration, export non-class functions. Use either .def file or extern "C".
Or use a COM interface, especially when want to export non-static class functions.