C#COM - Singleton对象 [英] C# COM - Singleton Object
问题描述
在我的查询中,我非常需要你的答案。
有没有构建C#COM TLB / DLL以访问两个VBScripts中的相同对象的方法?喜欢HTMLS?这可以通过使C#Singleton对象在C#Projects中访问来实现。如何使用C#COM为VBScripts执行此操作?
基本上通过访问相同的C#COM(CLSID)来交换两个vbscript文件之间的公共消息传递>
如果我的问题不清楚,我会重新构建它。
问候,
SKOTAJI。
它不能是一个DLL,它必须是可执行文件,因为你需要一个outproc COM服务器。根据 http://social.msdn.microsoft.com/Forums/vstudio/en-US/9556c515-2000-435a-bbab-21681bf4c826/how-to-develop-outproc-com- server-in-c [ ^ ]。
可能,某种Web服务将是更好的选择
Hi,
I strongly need your answers here in my query.
Is there a way to build C# COM TLB / DLL to access the same objects in two VBScripts ? Like HTMLS? That can be possible by making C# Singleton object to access with in C# Projects. How to do this here with C# COM for VBScripts ?
It is basically to exchange the common messaging between two vbscript files by accessing same C# COM(CLSID)
If my question is not clear, I will reframe it.
Regards,
SKOTAJI.
It cannot be a dll, it must be an executable because you require an "outproc COM server". It seems to be technically possible according to http://social.msdn.microsoft.com/Forums/vstudio/en-US/9556c515-2000-435a-bbab-21681bf4c826/how-to-develop-outproc-com-server-in-c[^].
Likely, some kind of Web Service would be a better choice.
这篇关于C#COM - Singleton对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!