Main Apartment Must Not Exit While Process Does OLE Work

ID: Q137630


The information in this article applies to:
  • Microsoft 32-bit OLE libraries, used with:
    • Microsoft Windows NT, versions 3.51, 4.0
    • Microsoft Windows 95

In OLE's apartment threading model, the main apartment of the process is the thread that first calls OleInitialize (or CoInitialize) either implicilty or explicitly. The main apartment must not exit until completion of all OLE work in the process.

Additional query words: 4.00 CreateThread

Keywords : kbole kbprg kbGrpCom kbDSupport
Version : :
Platform :
Issue type :


Last Reviewed: October 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.