Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to unload dlls?????

843829Aug 2 2001 — edited Aug 8 2001
Hi! 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2001
Added on Aug 2 2001
7 comments
562 views