Debug版出现这样的问题,Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
加上了windows.h头文件,release版本没有问题,debug出现这样的问题
http://www.cnblogs.com/fresky/archive/2012/12/23/2830401.html
__cdecl,__stdcall,__fastcall
https://blog.csdn.net/jia_xiaoxin/article/details/2868216