Alexandre Julliard : rpcrt4: Always start the 64-bit version of rpcss. exe on Wow64.
Module: wine Branch: master Commit: d1c7029b34d1de78774325fe3336580801e064ab URL: http://source.winehq.org/git/wine.git/?a=commit;h=d1c7029b34d1de78774325fe33... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Mar 29 15:47:58 2010 +0200 rpcrt4: Always start the 64-bit version of rpcss.exe on Wow64. --- dlls/rpcrt4/rpc_epmap.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/rpcrt4/rpc_epmap.c b/dlls/rpcrt4/rpc_epmap.c index b81367e..ac7f25b 100644 --- a/dlls/rpcrt4/rpc_epmap.c +++ b/dlls/rpcrt4/rpc_epmap.c @@ -82,6 +82,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"); @@ -90,7 +91,9 @@ static BOOL start_rpcss(void) GetSystemDirectoryW( cmd, MAX_PATH - sizeof(rpcss)/sizeof(WCHAR) ); lstrcatW( cmd, rpcss ); + Wow64DisableWow64FsRedirection( &redir ); rslt = CreateProcessW( cmd, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ); + Wow64RevertWow64FsRedirection( redir ); if (rslt) {
participants (1)
-
Alexandre Julliard