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
27431b0f
Commit
27431b0f
authored
Oct 18, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Use the WCHAR string version of LoadLibrary.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5e9df0bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
desktop.c
programs/explorer/desktop.c
+1
-1
startmenu.c
programs/explorer/startmenu.c
+1
-1
No files found.
programs/explorer/desktop.c
View file @
27431b0f
...
...
@@ -1041,7 +1041,7 @@ void manage_desktop( WCHAR *arg )
initialize_systray
(
graphics_driver
,
using_root
,
enable_shell
);
if
(
!
using_root
)
initialize_launchers
(
hwnd
);
if
((
shell32
=
LoadLibrary
A
(
"shell32.dll"
))
&&
if
((
shell32
=
LoadLibrary
W
(
L
"shell32.dll"
))
&&
(
pShellDDEInit
=
(
void
*
)
GetProcAddress
(
shell32
,
(
LPCSTR
)
188
)))
{
pShellDDEInit
(
TRUE
);
...
...
programs/explorer/startmenu.c
View file @
27431b0f
...
...
@@ -375,7 +375,7 @@ static void run_dialog(void)
LPCSTR
lpszTitle
,
LPCSTR
lpszDesc
,
DWORD
dwFlags
);
HMODULE
hShell32
;
hShell32
=
LoadLibrary
A
(
"shell32"
);
hShell32
=
LoadLibrary
W
(
L
"shell32"
);
pRunFileDlg
=
(
void
*
)
GetProcAddress
(
hShell32
,
(
LPCSTR
)
61
);
pRunFileDlg
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
0
);
...
...
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