I can't seem to be able to get the address of a function out of a DLL UNLESS I declare the function inside the DLL inside an "Extern "C" Block!
Eg, the function inside the DLL has to be declared this way:
extern "C" {
int __declspec ( dllexport ) Core(void)
{
return 0;
}
}
Both the DLL and the exe are being compiled with MSVC 6.0
How can I get around this? thx in advance
Eg, the function inside the DLL has to be declared this way:
extern "C" {
int __declspec ( dllexport ) Core(void)
{
return 0;
}
}
Both the DLL and the exe are being compiled with MSVC 6.0
How can I get around this? thx in advance