Declare your function prototypes as C modules. This is done using extern "C". As an example:
// Function prototype
extern "C" {
_declspec(dllexport) long YourFunction(int *VarX);
} // End of extern "C"
// Your actual function
_declspec(dllexport) long YourFunction(int *VarX)
{
// Your code goes here
return 0;
}
______________
Regards;
Vargas
www.vartortech.com