The problem is name decoration, that is you have to tell the compiler that the names of the methods should be left "as is", something like:
__declspec(dllexport) int testFunc(int Num)
{
}
and because you want to pass parameters to the methods, do not forget to generate the .def file.
Marco
|