Initialize and uninitialize COM properly.

6 files changed