Rainmeter.exe now uses delay-loading for Rainmeter.dll instead of manually loading it.
This commit is contained in:
Birunthan Mohanathas
2013-05-05 13:09:48 +03:00
parent bb823b798e
commit 67542f31dd
3 changed files with 39 additions and 46 deletions

View File

@ -708,10 +708,6 @@ CRainmeter::CRainmeter() :
m_GDIplusToken(),
m_GlobalOptions()
{
// Prevent the system error message boxes.
UINT oldMode = SetErrorMode(0);
SetErrorMode(oldMode | SEM_FAILCRITICALERRORS);
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
InitCommonControls();