How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by thisi » Sun, 22 Oct 2006 16:32:44


Hi , J French
No, I'm not running the app from vb ide, I exited/closed it.
I still get windows os annoying message, while attemping to DELETE it.
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by erewho » Sun, 22 Oct 2006 17:14:11


Try opening a DOS Box
- maybe Explorer is not quite up to date

The other thing is to check that your closed App has really
disappeared from the Task List

 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by thisi » Mon, 23 Oct 2006 03:19:37

I did check my Task List, and the app doesn't appear on it.
My app is a web app using PWS manager.

I did exit/close pws and the DLL used in that app, "appears " to be in
my windows/os "memory".

Is there any Windows98 tool that I /can view/manage/end dll task/ dll
processes,
because the task manger doesn't show which dll's are in use, just app's
execs?
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by erewho » Mon, 23 Oct 2006 15:46:12


I've not looked into the MS Personal Web Server (I used O'Reilly when
I last did that type of stuff)

What type of DLL is this beast, is it an AX DLL ?

The other thing is why you need to replace it, is this so you can do
some form of 'live update', or is it simply driving you nuts while
developing?

Possibly I or someone else can think of a workaround.
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by Steve Gerr » Mon, 23 Oct 2006 16:11:12


If PWS is anything like IIS, it runs as a service. That means that closing the
manager for PWS does *not* close down the web site at all. The web site is happy
to run on its own. Instead, you should be able to select the web site in the
manager, usually called Default Web Site, and click a stop button to shut it
down. See if that frees up the file.
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by thisi » Mon, 23 Oct 2006 21:12:09

Hi, J French

The type of DLL is ActiveX.DLL. Does it makes a difference?

"Why should I replace the dll",
because I'm I haven't found built in methods in ASP 2.0 that deal with
Uploading/Downloading binaries long types intofrom my db.
And I want to brush up my programming skills.

What's O'Reilly is it a small manger for ASP like MS - Personal Web
Server (or the mini version of IIS)?

Please send some web link to that thing O'Reilly.
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by thisi » Mon, 23 Oct 2006 21:17:56

Hi Steve,

Yes PWS runs as a "mini" service for IIS.
I did STOP the server manager/service by pushing the STOP button,
and only then I Exited it.

I also tried what I think you - or some else - here suggested to run
the DOS box,
this "method" sometimes works and sometimes not.

I'm still stuck with this issue
How do I free/delete DLL/Resource from Windows98/OS without restarting
the OS?
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by erewho » Tue, 24 Oct 2006 14:52:11


It is worth knowing


I don't understand that
- neither are a reason for frequently replacing a DLL


It is a small Webserver called Website 1
- nothing to do with ASP


One solution that I can think of is to replace the DLL with one DLL
calling another

The top level DLL will be 'locked', but you can make darn sure that
the one that does the work and is below it is freed.
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by thisi » Tue, 24 Oct 2006 21:33:20

Hi, J French


I think I didn't understand your answer or you didn't understand my
question.
Your answer is complicated and not programetic elegant,
Sorry but, it's out of line.

There is no top level for the DLL. And it doesn't make logic.
Just a triviale Question for you:
If DLLOne.dll can't be free out the memory,
why should it be free if I call from DLLTwo.dll
{please don't answer this}



I looked into O'Reilly.Com to get info about the small Webserver your
using,
and I can't find it.

WHERE can I DOWNLOAD and read on O'Reilly WEBSERVER?
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by Michael B. » Wed, 25 Oct 2006 00:13:56


This is not a purely VB Classic issue - you may have better luck in some other
groups.

If your DLL is hosted on MTS, you're going to have to stop the MTS object in the
"Component Services". You may want to restart the DTC (Distributed Transaction
Coordinator) and PWS at the same time.

I'm not sure if Win '98 will allow you to restart services, because it doesn't
provide real service support.
_______________________
Michael B. Johnson
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by thisi » Wed, 25 Oct 2006 07:42:50

Hi Michael B. Johnson,

So How do I DEFINE the issue in order to find the relevant group that
deals with this subject:
free/delete DLL/Resource from Windows98/OS without restarting ?
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by Steve Gerr » Wed, 25 Oct 2006 10:20:40


I think Michael meant that you should look at ASP scripting sites, where someone
may have had a similar experience. If it is your ASP script that has loaded the
DLL, you should be able to shut down the web site and free it up.

In general, you won't be able to just force the OS to release a lock on a DLL;
it would create enough havoc in the system that you would almost certainly have
to reboot anyway. You can kill entire processes using Task Manager, but that
will often lead to a reboot as well.
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by Steve Gerr » Wed, 25 Oct 2006 11:02:39


For example, a quick search of Google Groups for
ASP Scripting stuck DLL

produced:

<post>

ASP Component DLL stuck in memory

Posted Jun 10, 1998:

I have a VB generated asp component (activex dll)
I find that whenever I test it on my machine, when I go back
to VB, I am unable to compile a new build of the DLL.
It seems that my object is still in memory.
I have closed the browser that I used to access the component.
is there a way to get it out of memory, without restarting my machine?

</post>

Which sounds like the sort of thing you are encountering.

Have a look:

http://www.yqcomputer.com/
 
 
 

How do I free/delete DLL/Resource from Windows98/OS without restarting the OS?

Post by thisi » Wed, 25 Oct 2006 18:23:30

Hi, Steve Gerrard

Thanks for the search & link redirection.