Compiler Warning (level 1) C4166

illegal calling convention for constructor/destructor

Constructors and destructors cannot have calling conventions other than the default for the platform (except when you explicitly specify __stdcall).


Send feedback to MSDN.Look here for MSDN Online resources.