从dll呼叫vbscript [英] Call vbscript from dll
本文介绍了从dll呼叫vbscript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我想知道是否有办法编写一个DLL来调用外部VBScript文件.
还是有一种方法可以在dll文件中编写vbscript代码?
-
AJ
Hi
I was wondering if there is way to write a DLL which calls and external VBScript file.
Or is there a way to write a vbscript code in a dll file??
--
AJ
推荐答案
如果它们是松散的vbscript文件,则只需ShellExecute
它们.
另外,如果您想在您的应用程序中托管VBScript引擎,请参见此文章:
如何添加对将VBScript托管到ATL应用程序的支持 [
If they are loose vbscript files, then you can justShellExecute
them.
Alternatively, if you want to host the VBScript engine in your app, see this article:
How to add support for hosting VBScript to an ATL application[^]
这篇关于从dll呼叫vbscript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文