Arnavion 5a87d814cf Call CoInitialize, CoInitializeSecurity and CoUninitialize from the main process, not from a DLL.
They're process-level functions and aren't meant to be called from DLLs. CoInitSecurity in particular fails with RPC_E_TOO_LATE even if no other call to CoCreateInstance has been made yet.

Fixes sysinfo's WMI calls on Windows 8.1 and above.
2015-02-10 22:14:22 -08:00
..
2013-09-15 15:07:46 -07:00
2014-12-28 06:47:23 -05:00
2014-12-31 15:11:47 -05:00
2013-09-15 15:07:46 -07:00
2011-02-24 04:14:30 +01:00
2014-01-30 02:01:42 -05:00
2012-10-24 21:33:02 +02:00