Hi! I have a static library where I have a function defined like:

EXPORT_API BOOL Function(...)

where I have:

#define EXPORT_API extern "C" __declspec( dllexport )

I'm writing a C++ class in which I would like to call this function. So, I linked the .lib file, and I defined:

extern "C" BOOL Function(...)

at the top of my source. Unfortunaly, I noticed it simply doesn't enter the function... and my method doesn't go on. No crash and the application is still working correctly. Any idea what I've done wrong?
Thanks guys!