WinMain function can not be oveloaderd

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreInstance,LPTSTR lpCmdLine,int nCmdShow)

原因是上面的函数写错了,,LPTSTR lpCmdLine 应该是,LPSTR lpCmdLine,       LPTSTR 是 unsigned int        LPSTR 是 char   

Windows API  是真JB恶心,我怀疑他是故意写的这么绕。

原文地址:https://www.cnblogs.com/zijidefengge/p/14386329.html