OleItemHandlerModule.h
This class implements a safe OleInitialize() and OleUninitialize(). It prevents initialization and uninitialization conflicts.
Source code provided.
Windows Classes