How to call C functions from Mathematica using a DLL written in C (or C++)