title: Calling a .dll function from a html page that runs on chrome and firefox
body: <p>I have a dll written in c++. now i need to call the functions in the dll from a html page. </p>
  
  <p>I have done this by calling the dll in vbscript (Activex) so that i can run the only in IE.</p>
  
  <p>Now i need to run this on Chrome as well as Firefox.</p>
  
  <p>What i have to do, whether i have to write in javascript simply or need to develop any extensions for that ? </p>
  
  <p>can anyone give a solution with a simple demo for this?</p>
  
  <p>Thanks in advance.</p>