In the third-party developer dll, the prototype of the function is described:
extern "C" void __stdcall AnyFunction ()
- I need to make it static, I try to fit it into the class, I get an error - error C2059: syntax error: 'string', without extern "C" accepts, how to be?
- How to register the implementation of the method outside the class declaration is also not working!
Code:
class clssMy{ public: extern "C" static void __stdcall AnyFunction(); };