mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Improve 24ef81d
Rainmeter.exe now uses delay-loading for Rainmeter.dll instead of manually loading it.
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user