Commit 27431b0f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

explorer: Use the WCHAR string version of LoadLibrary.

parent 5e9df0bb
......@@ -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 = LoadLibraryA( "shell32.dll" )) &&
if ((shell32 = LoadLibraryW( L"shell32.dll" )) &&
(pShellDDEInit = (void *)GetProcAddress( shell32, (LPCSTR)188)))
{
pShellDDEInit( TRUE );
......
......@@ -375,7 +375,7 @@ static void run_dialog(void)
LPCSTR lpszTitle, LPCSTR lpszDesc, DWORD dwFlags);
HMODULE hShell32;
hShell32 = LoadLibraryA("shell32");
hShell32 = LoadLibraryW(L"shell32");
pRunFileDlg = (void*)GetProcAddress(hShell32, (LPCSTR)61);
pRunFileDlg(NULL, NULL, NULL, NULL, NULL, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment