mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Added workaround for InputText plugin. (ShellExecuteEx fails when InputText is activated.)
This commit is contained in:
parent
96244049f0
commit
d125093e89
@ -1205,6 +1205,8 @@ CRainmeter::CRainmeter()
|
|||||||
|
|
||||||
InitializeCriticalSection(&m_CsLogData);
|
InitializeCriticalSection(&m_CsLogData);
|
||||||
|
|
||||||
|
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
|
||||||
|
|
||||||
INITCOMMONCONTROLSEX initCtrls;
|
INITCOMMONCONTROLSEX initCtrls;
|
||||||
initCtrls.dwSize = sizeof(INITCOMMONCONTROLSEX);
|
initCtrls.dwSize = sizeof(INITCOMMONCONTROLSEX);
|
||||||
initCtrls.dwICC = ICC_TAB_CLASSES;
|
initCtrls.dwICC = ICC_TAB_CLASSES;
|
||||||
@ -1246,6 +1248,8 @@ CRainmeter::~CRainmeter()
|
|||||||
UpdateDesktopWorkArea(true);
|
UpdateDesktopWorkArea(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CoUninitialize();
|
||||||
|
|
||||||
DeleteCriticalSection(&m_CsLogData);
|
DeleteCriticalSection(&m_CsLogData);
|
||||||
|
|
||||||
GdiplusShutdown(m_GDIplusToken);
|
GdiplusShutdown(m_GDIplusToken);
|
||||||
|
Loading…
Reference in New Issue
Block a user