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
315b5299
Commit
315b5299
authored
Oct 27, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Specify the full application path when starting regedit.exe.
parent
781fcd46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
oleview.c
programs/oleview/oleview.c
+7
-3
No files found.
programs/oleview/oleview.c
View file @
315b5299
...
...
@@ -21,7 +21,7 @@
#include "main.h"
GLOBALS
globals
;
static
WCHAR
wszRegEdit
[]
=
{
'r'
,
'e'
,
'g'
,
'e'
,
'd'
,
'i'
,
't'
,
'.'
,
'e'
,
'x'
,
'e'
,
'\0'
};
static
const
WCHAR
wszRegEdit
[]
=
{
'\\'
,
'r'
,
'e'
,
'g'
,
'e'
,
'd'
,
'i'
,
't'
,
'.'
,
'e'
,
'x'
,
'e'
,
'\0'
};
static
WCHAR
wszFormat
[]
=
{
'<'
,
'o'
,
'b'
,
'j'
,
'e'
,
'c'
,
't'
,
'\n'
,
' '
,
' '
,
' '
,
'c'
,
'l'
,
'a'
,
's'
,
's'
,
'i'
,
'd'
,
'='
,
'\"'
,
'c'
,
'l'
,
's'
,
'i'
,
'd'
,
':'
,
'%'
,
's'
,
'\"'
,
'\n'
,
'>'
,
'\n'
,
'<'
,
'/'
,
'o'
,
'b'
,
'j'
,
'e'
,
'c'
,
't'
,
'>'
,
'\0'
};
...
...
@@ -370,13 +370,17 @@ static int MenuCommand(WPARAM wParam, HWND hWnd)
{
STARTUPINFO
si
;
PROCESS_INFORMATION
pi
;
WCHAR
app
[
MAX_PATH
];
GetWindowsDirectoryW
(
app
,
MAX_PATH
-
sizeof
(
wszRegEdit
)
/
sizeof
(
WCHAR
)
);
lstrcatW
(
app
,
wszRegEdit
);
memset
(
&
si
,
0
,
sizeof
(
si
));
si
.
cb
=
sizeof
(
si
);
CreateProcess
(
NULL
,
wszRegEdit
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
if
(
CreateProcess
(
app
,
app
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
))
{
CloseHandle
(
pi
.
hProcess
);
CloseHandle
(
pi
.
hThread
);
}
break
;
}
case
IDM_STATUSBAR
:
...
...
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