title: How to call DLL function in vbscript
body: <p>I am writing VB script in which I have to call a function of a COM DLL. The function which I want to use is in structure and thus I want to create the object of that structure to access the required function.</p>
  
  <p>e.g.
  I have a dll 'BasicCom.dll', in which</p>
  
  <pre><code>struct abc
  {
      bool xyz();
  } 
  </code></pre>
  
  <p>Now I want to call xyz(). Does anyone have any idea, how to deal with such call in Vb script?</p>