I need some help to handle following scenario.
I am using two applets which requires the same native library (.dll) file.
So when I run the applets from the web pages, for the first time first applet loads the dll into the applet class loader. It works fine.
But when second applet tries to load the same dll it gives me exception saying that "Error loading win32com: java.lang.UnsatisfiedLinkError: Native Library C:\WINDOWS\system32\win32com.dll already loaded in another classloader"
I using following method to load the driver.
CommDriver driver = (CommDriver)Class.forName("com.sun.comm.Win32Driver").newInstance();
driver.initialize();
Please give me the solution
Thanks & Rgds, Rishikesh