Hopefully this is a brainlessly easy question, but it shows my lack of expertise with C++. I\'m a C# programmer, and I\'ve done extensive work with P/Invoke in the past wit
You'll want to use extern "C" as well as __declspec(export), like so:
extern "C"
__declspec(export)
extern "C" _declspec(dllexport) bool TestFunc() { return true; }
For full details, see MSDN on Marshalling Types.