Thread
:
Making a C function pointer work with C-style stack based calling mechanics in C++
View Single Post
xpi0t0s
Mentor
25May2011,04:42
extern "C" is C++ code, not C code. This is what you put in the C++ code to make it call the function in the DLL. You still need a prototype, and you extern "C" it to stop the compiler mangling the names, then the linker resolves the call.