Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0beaa44d
Commit
0beaa44d
authored
Oct 27, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Specify the full application path when starting rpcss.exe.
parent
30d2660d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
+5
-17
moniker.c
dlls/ole32/moniker.c
+5
-17
No files found.
dlls/ole32/moniker.c
View file @
0beaa44d
...
...
@@ -124,30 +124,18 @@ static BOOL start_rpcss(void)
{
PROCESS_INFORMATION
pi
;
STARTUPINFOW
si
;
static
WCHAR
cmd
[
6
];
static
const
WCHAR
rpcss
[]
=
{
'
r'
,
'p'
,
'c'
,
's'
,
's
'
,
0
};
WCHAR
cmd
[
MAX_PATH
];
static
const
WCHAR
rpcss
[]
=
{
'
\\'
,
'r'
,
'p'
,
'c'
,
's'
,
's'
,
'.'
,
'e'
,
'x'
,
'e
'
,
0
};
BOOL
rslt
;
TRACE
(
"
\n
"
);
ZeroMemory
(
&
pi
,
sizeof
(
PROCESS_INFORMATION
));
ZeroMemory
(
&
si
,
sizeof
(
STARTUPINFOA
));
si
.
cb
=
sizeof
(
STARTUPINFOA
);
GetSystemDirectoryW
(
cmd
,
MAX_PATH
-
sizeof
(
rpcss
)
/
sizeof
(
WCHAR
)
);
strcatW
(
cmd
,
rpcss
);
memcpy
(
cmd
,
rpcss
,
sizeof
(
rpcss
));
rslt
=
CreateProcessW
(
NULL
,
/* executable */
cmd
,
/* command line */
NULL
,
/* process security attributes */
NULL
,
/* primary thread security attributes */
FALSE
,
/* inherit handles */
0
,
/* creation flags */
NULL
,
/* use parent's environment */
NULL
,
/* use parent's current directory */
&
si
,
/* STARTUPINFO pointer */
&
pi
/* PROCESS_INFORMATION */
);
rslt
=
CreateProcessW
(
cmd
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
if
(
rslt
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment