Alexandre Julliard : ole32: Always start the 64-bit version of rpcss. exe on Wow64.
Module: wine Branch: master Commit: a8e2f4327fa0204dfcf4222444643f2a4cf1242b URL: http://source.winehq.org/git/wine.git/?a=commit;h=a8e2f4327fa0204dfcf4222444... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Mar 29 15:47:52 2010 +0200 ole32: Always start the 64-bit version of rpcss.exe on Wow64. --- dlls/ole32/moniker.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/ole32/moniker.c b/dlls/ole32/moniker.c index a7c5a11..2fb03ae 100644 --- a/dlls/ole32/moniker.c +++ b/dlls/ole32/moniker.c @@ -127,6 +127,7 @@ static BOOL start_rpcss(void) WCHAR cmd[MAX_PATH]; static const WCHAR rpcss[] = {'\\','r','p','c','s','s','.','e','x','e',0}; BOOL rslt; + void *redir; TRACE("\n"); @@ -135,7 +136,9 @@ static BOOL start_rpcss(void) GetSystemDirectoryW( cmd, MAX_PATH - sizeof(rpcss)/sizeof(WCHAR) ); strcatW( cmd, rpcss ); + Wow64DisableWow64FsRedirection( &redir ); rslt = CreateProcessW( cmd, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ); + Wow64RevertWow64FsRedirection( redir ); if (rslt) {
participants (1)
-
Alexandre Julliard