Use _tWinMain instead of WinMain, as msconfig.exe uses TCHAR in other places

svn path=/trunk/; revision=33378
This commit is contained in:
Hervé Poussineau 2008-05-08 17:49:42 +00:00
parent 78c2b00d5f
commit b26bf1b115

View file

@ -204,10 +204,10 @@ MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
return 0;
}
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
INITCOMMONCONTROLSEX InitControls;