na95enm
asked on
Add-ins Visual C++ 5.0
I use the add-in wizard in Visual c++ to create an add-in. After execution I changed/added some code and rebuilds the project. I get the following error: LINK: fatal error LNK1168: cannot open Debug/kalle.dll for writing. Apparently is the dll-file still "active". My problem is how to "deactivate" the dll-file without to shut down the DevStudio. I have tried the following code:
HINSTANCE pDll;
pDll=GetModuleHandle ("kalle.dll");
if(pDll != NULL);
FreeLibrary(pDll);
The problem with these lines of code is that DevStudio goes down when executed. Any answer would be highly appreciated.
HINSTANCE pDll;
pDll=GetModuleHandle ("kalle.dll");
if(pDll != NULL);
FreeLibrary(pDll);
The problem with these lines of code is that DevStudio goes down when executed. Any answer would be highly appreciated.
Just a guess. you could try uncheckin the add-in file in the "add-ins and Macro Files" tab of the "customize" dialog.
ASKER
Uncheckin the add-in in the customize dialog doesn't solve the problem.
Thanks anyway.
Thanks anyway.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.