DOC: ThreadingModel Is Not a Subkey
Article ID: 150199
Article Last Modified on 12/2/2003
APPLIES TO
- Microsoft Visual C++ 2.0 Professional Edition
- Microsoft Visual C++ 2.1
- Microsoft Visual C++ 2.2
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
This article was previously published under Q150199
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key"
Help topic in Regedt32.exe.
SUMMARY
In the article "Processes and Threads" from the OLE Programmer's Reference,
paragraph 12 gives the following incorrect information:
For thread-aware DLL-based or in-process objects, you need to set the
threading model in the registry. The default model when you do not
specify a threading model is single-thread-per-process. To specify a
model, you add the ThreadingModel subkey to the InprocServer32 key in
the registration database.
ThreadingModel is not a subkey; it is a named value.
This documentation error was fixed in the "Processes and Threads" article
of the Visual C++ 4.2 CD online OLE Programmer[ASCII 146]s reference. The text has
been modified as follows:
For thread-aware DLL-based or in-process objects, you need to set the
threading model in the registry. The default model when you do not
specify a threading model is single-thread-per-process. To specify a
model, you add the ThreadingModel named-value to the InprocServer32 key
in the registration database.
Additional query words: kbVC400bug thread apartment
Keywords: kbbug kbvc420fix kbdocfix kbdocerr KB150199