How to unload dlls?????
843829Aug 2 2001 — edited Aug 8 2001Hi! All,
I have an applet which copies 3 dlls from the server
to c drive of the client hard disk. I'm loading one dll by
calling the method System.load("..."). This loaded library
inturn loads other two libraries natively in C++ code(in
JNI_OnLoad function using the LoadLibrary).
In the stop method of applet I have called a native
method to unload the dlls which have been natively
loaded. I'm also able to delete the natively loaded dlls
from the c drive in the stop method after unloading them
natively. But I'm not able to unload the dll which has
been loaded by the method System.load(). Even after I
close the browser(IE), I'm seeing an instance of IE in the
process tab of Task manager dialog box.
Can anybody suggest me how I can unload the dll
loaded through System.load("..") method and also delete
it from the hard disk.
Any comments on this will be of a great help!!!
Thanx in advance
Pavana Chandrashekar