Index: src/chext/ShellExtControl.h =================================================================== diff -u -r306fbe693c70290af9de9a5779084a697de22d75 -r134983cab6122e3fff73994a6f9c417aaeab3bc2 --- src/chext/ShellExtControl.h (.../ShellExtControl.h) (revision 306fbe693c70290af9de9a5779084a697de22d75) +++ src/chext/ShellExtControl.h (.../ShellExtControl.h) (revision 134983cab6122e3fff73994a6f9c417aaeab3bc2) @@ -48,19 +48,22 @@ COM_INTERFACE_ENTRY(IShellExtControl) END_COM_MAP() -protected: - HANDLE m_hMemory; +private: + HRESULT Initialize(); + +private: + HANDLE m_hMemory = nullptr; chcore::TIpcMutex m_mutex; struct SHELLEXT_DATA { - long m_lID; - long m_lFlags; + long m_lFlags = 0; } *m_pShellExtData; CComAutoCriticalSection m_lock; logger::TLoggerPtr m_spLog; chcore::TSharedMemory m_shmConfiguration; + bool m_bInitialized = false; }; #endif //__SHELLEXTCONTROL_H_