[ROSTESTS] fix x64 build and fix/disable warnings

This commit is contained in:
Timo Kreuzer 2019-05-30 17:12:28 +02:00
parent 6a67450893
commit 42d2d5ec9c
56 changed files with 229 additions and 171 deletions

View file

@ -45,7 +45,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
*/
/* 1- Write the WinMain's command line. */
dwStringSize = (wcslen(lpCmdLine) + 1) * sizeof(WCHAR);
dwStringSize = (lstrlenW(lpCmdLine) + 1) * sizeof(WCHAR);
WriteFile(hFile,
&dwStringSize,
@ -60,7 +60,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
NULL);
/* 2- Write the Win32 mode command line. */
dwStringSize = (wcslen(CmdLine) + 1) * sizeof(WCHAR);
dwStringSize = (lstrlenW(CmdLine) + 1) * sizeof(WCHAR);
WriteFile(hFile,
&dwStringSize,