MSDev.exe does not automatically close when the COM reference count is zero (192912)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Visual Studio 97
- Microsoft Visual InterDev 1.0
- Microsoft Visual J++ 1.0
- Microsoft Visual J++ 1.1
This article was previously published under Q192912 SYMPTOMS
After a Component Object Model (COM) client has loaded MSDev.exe using the
COM automation interface, MSDev.exe does not automatically close when its
last reference is released.
RESOLUTION
Use Application.Quit method of MSDev.exe to cause it to remove itself from
memory just before releasing the last reference to it. See the MORE
INFORMATION section of this article for sample Visual C++ and Visual Basic
code.
STATUS
This behavior is by design.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
192913
BUG: EnableModeless Causes Events to Fire Late
For more information on Automation and the Developer Studio object model,
please see the following Help topics:
Visual C++ 5.0 Online Help: Developer Products; Visual C++; Developer
Studio Environment User's Guide; Automating Tasks in Developer Studio;
Developer Studio Objects; Overview: Developer Studio Objects;
Automating Developer Studio Tasks from Other Applications
MSDN Library: Platform SDK; COM and ActiveX Object Services; COM
Visual C++ 6.0 Online Help: Visual C++ Documentation; Using Visual C++;
Visual C++ User's Guide; Automating Task's in Visual C++; Developer
Studio Objects; Overview: Developer Studio Objects; Automating
Developer Studio Tasks from Other Applications
Modification Type: | Major | Last Reviewed: | 6/10/2005 |
---|
Keywords: | kbtshoot kbAutomation kbDevStudio kbFAQ kbide kbprb KB192912 kbAudDeveloper |
---|
|