如何在html或javascript调用DLL文件中的方法

无法在JavaScript中调用普通DLL,但可以使用new ActiveXObject调用ActiveX DLL,如:
    <script>
    set o = CreateObject( "WScript.Shell" )
     o.Run( "command.com /c mkdir " + "c:\NewDir")
    </script> 
    
http://www.china-askpro.com/msg45/qa76.shtml

你可能感兴趣的:(JavaScript,html,C++,c,C#)