title: How to call a method in DLL in a Java program
body: <p>I am trying to call a method in a DLL using JNA. So far have loaded the DLL using </p>
  
  <pre><code>Runtime.getRuntime().load("myworkspace/test.dll");
  </code></pre>
  
  <p>This dll contaings a method that I need to access. How can I execute the method present in DLL in my Java file. Do I create an object or something of the DLL and then get the method name after the dot operator.</p>