Microsoft KB Archive/179285

= PRB: Disabled Developer Studio Add-Ins Not Unloaded From Memory =

Article ID: 179285

Article Last Modified on 10/24/2003

-

APPLIES TO


 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Enterprise Edition

-



This article was previously published under Q179285



SYMPTOMS
When a DLL add-in is disabled in Developer Studio through the Tools/Customize dialog box (click Customize on the Tools menu), the DLL is not unloaded from memory. As a result, if the add-in is being built in Developer Studio, the linker cannot overwrite the still-loaded DLL and will give the following error message:

LINK : fatal error LNK1168: cannot open Debug/test.dll for writing

NOTE: Test.dll is the name of the add-in DLL.



RESOLUTION
After disabling the add-in, close Developer Studio then reopen Developer Studio. The development environment will not load the add-in, and therefore changes may be made to the DLL.



STATUS
This behavior is by design.

