Discussion Locked

unable to unload dll file

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi Guys,

I have created a dll file and registered it. Now I want to recompile it, but the machine doesn't allow it. When I shut down and restart the machine, i am able to recompile it. Is there any way I can do this without restarting the machine.

I am using w2k pro and visual interdev to create this dll file.

Pls help

Regards,

Sunil Kumar S

2 replies

by isys

In \winnt\system32 is regsvr32.exe. This registers and unregisters dll files. From a command prompt, navigate to the folder where the subject dll resides and type:

regsvr32 /u

This should result in the dll becoming free. When you are ready to reinstate it, type:

regsvr32

by sskumar

Thanks for the soloution, but my problem is far from solved. The problem I have is not unregistering the file, but I am unable to unload it from memory which is preventing me from recompiling a dll with the same name.

Regards,

Sunil

This discussion is closed to new replies.