mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 19:43:42 +00:00
Update winfile and write to most recent Wine Version.
svn path=/trunk/; revision=35962
This commit is contained in:
parent
436f87389b
commit
e699646de8
5 changed files with 494 additions and 95 deletions
|
@ -40,7 +40,7 @@ int CALLBACK wWinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPWSTR szCmdP
|
|||
lstrcatW(path, SZ_BACKSLASH);
|
||||
lstrcatW(path, SZ_WORDPAD);
|
||||
|
||||
stinf.cb = sizeof(STARTUPINFO);
|
||||
stinf.cb = sizeof(STARTUPINFOW);
|
||||
GetStartupInfoW(&stinf);
|
||||
|
||||
if (!CreateProcessW(path, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &stinf, &info))
|
||||
|
@ -48,7 +48,7 @@ int CALLBACK wWinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPWSTR szCmdP
|
|||
return 0;
|
||||
|
||||
failed:
|
||||
LoadStringW(GetModuleHandle(NULL), IDS_FAILED, path, MAX_PATH);
|
||||
LoadStringW(GetModuleHandleW(NULL), IDS_FAILED, path, MAX_PATH);
|
||||
MessageBoxW(NULL, path, NULL, MB_OK|MB_ICONERROR);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue