title: Why do I get "LoadLibrary failed with error 1114: a dynamic link library (DLL) initialization routine failed"?
body: <p>When I run my java application program an error window appears saying that</p>
  
  <blockquote>
    <p>"LoadLibrary failed with error 1114: a dynamic link library (DLL) >initialization routine failed". </p>
  </blockquote>
  
  <p>I have tested my code on a different machine and it worked perfectly.The program shows a PApplet window with a map inside.However, Running the code on my laptop, the PApplet appears and all of the sudden the DLL error stops the rest from being shown. </p>
  
  <p>What the problem could be and how can I fix it?</p>
  
  <p>Here is the code I am trying to run. It is worth to mention that it runs successfully if I remove what's inside the <code>setup()</code> method.</p>
  
  <pre><code>import de.fhpotsdam.unfolding.UnfoldingMap;
  import de.fhpotsdam.unfolding.providers.Google;
  import de.fhpotsdam.unfolding.utils.MapUtils;
  import processing.core.PApplet;
  
  public class LifeExpectancy2 extends PApplet {
  
  UnfoldingMap map;
      public void setup()
        {
          size(800,600,OPENGL);
          map = new UnfoldingMap (this, 50, 50, 700, 500, new Google.GoogleMapProvider());
          MapUtils.createDefaultEventDispatcher (this, map);
  }
      public void draw()
       {
  
        }
  
  }
  </code></pre>