*/
#include "appwiz.h"
+#include <commctrl.h>
#include <shellapi.h>
#include <strsafe.h>
}
LONG CALLBACK
-ShowCreateShortcutWizard(HWND hwndCPl, LPWSTR szPath)
+ShowCreateShortcutWizard(HWND hwndCPl, LPCWSTR szPath)
{
PROPSHEETHEADERW psh;
HPROPSHEETPAGE ahpsp[2];
CALLBACK
NewLinkHereW(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
{
- return ShowCreateShortcutWizard(hwndCPl, (LPWSTR) lParam1);
+ InitCommonControls();
+ return ShowCreateShortcutWizard(hwndCPl, (LPWSTR)lParam1);
}
LONG
if (MultiByteToWideChar(CP_ACP, 0, (LPSTR)lParam1, -1, szFile, _countof(szFile)))
{
+ InitCommonControls();
return ShowCreateShortcutWizard(hwndCPl, szFile);
}
return -1;