title: Native Library already loaded in another classloader
body: <p>I need some help to handle following scenario.</p>
  
  <p>I am using two applets which requires the same native library (.dll) file.</p>
  
  <p>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 <code>"Error loading win32com: java.lang.UnsatisfiedLinkError: Native Library C:\WINDOWS\system32\win32com.dll already loaded in another classloader"</code></p>
  
  <p>I using following method to load the driver.</p>
  
  <pre><code>CommDriver driver = (CommDriver)Class.forName("com.sun.comm.Win32Driver").newInstance();
  driver.initialize();
  </code></pre>
  
  <p>Please give me the solution</p>
  
  <p>Thanks &amp; Rgds,
  Rishikesh</p>