mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +00:00
[APPLICATIONS] Fix 64 bit issues
This commit is contained in:
parent
807331436e
commit
6f13066647
16 changed files with 31 additions and 28 deletions
|
@ -142,10 +142,12 @@ RunCommand(IN LPCWSTR lpszCommand,
|
|||
lpszExpandedCommand = (LPWSTR)MemAlloc(0, dwNumOfChars * sizeof(WCHAR));
|
||||
ExpandEnvironmentStringsW(lpszCommand, lpszExpandedCommand, dwNumOfChars);
|
||||
|
||||
dwRes = (DWORD)ShellExecuteW(NULL, NULL /* and not L"open" !! */,
|
||||
lpszExpandedCommand,
|
||||
lpszParameters,
|
||||
NULL, nShowCmd);
|
||||
dwRes = (DWORD_PTR)ShellExecuteW(NULL,
|
||||
NULL /* and not L"open" !! */,
|
||||
lpszExpandedCommand,
|
||||
lpszParameters,
|
||||
NULL,
|
||||
nShowCmd);
|
||||
MemFree(lpszExpandedCommand);
|
||||
|
||||
return dwRes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue