mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-15 05:08:31 +10:00
Migrate to VS2017
This commit is contained in:
@@ -107,7 +107,7 @@ STDMETHODIMP CStartMenuExt::Initialize( PCIDLIST_ABSOLUTE pidlFolder, IDataObjec
|
||||
{
|
||||
CComString pPath;
|
||||
if (SUCCEEDED(SHGetKnownFolderPath(FOLDERID_StartMenu,0,NULL,&pPath)))
|
||||
Sprintf(m_PinFolder1,_countof(m_PinFolder1),L"%s\\",pPath);
|
||||
Sprintf(m_PinFolder1,_countof(m_PinFolder1),L"%s\\",(const wchar_t*)pPath);
|
||||
}
|
||||
|
||||
str=GetSettingString(L"FolderCommonStartMenu");
|
||||
@@ -120,7 +120,7 @@ STDMETHODIMP CStartMenuExt::Initialize( PCIDLIST_ABSOLUTE pidlFolder, IDataObjec
|
||||
{
|
||||
CComString pPath;
|
||||
if (SUCCEEDED(SHGetKnownFolderPath(FOLDERID_CommonStartMenu,0,NULL,&pPath)))
|
||||
Sprintf(m_PinFolder2,_countof(m_PinFolder2),L"%s\\",pPath);
|
||||
Sprintf(m_PinFolder2,_countof(m_PinFolder2),L"%s\\",(const wchar_t*)pPath);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user