Hosting WSH (VBScript, JavaScript) in your delphi application?
问题 I'm looking to execute user supplied scripts from my Delphi application. Is it possible to host the Windows Script Host engine in my application and supply it with scripts to execute? Or, is there a better way to approach this problem? P.S I'm not looking for third-party components. 回答1: This is entirely possible and there is plenty of code out there that shows how to do this. Check out: http://www.torry.net/pages.php?id=280 回答2: Allen Bauer made a blog post about using Active Scripting a few