安装Microsoft消息队列(MSMQ)ActiveX的步骤? [英] Steps to install Microsoft Message Queuing (MSMQ) ActiveX?
问题描述
在Windows Vista Business上,我安装了MSMQ核心组件,但看不到"Microsoft消息队列" ActiveX(我想在Delphi中导入它).
On Windows Vista Business, I installed the MSMQ core components but I can not see a 'Microsoft Message Queuing' ActiveX (I want to import it in Delphi).
要验证我的安装,我应该在哪里寻找ActiveX文件? MSMQ服务已安装,并在系统目录中使用可执行文件.
To verify my install, where should I look for the ActiveX file? The MSMQ service is installed and uses an executable in the system directory.
推荐答案
http://www.borlandtalk.com/threaded-com-msmq-listener-on-client-app-not-a-com-server-vt109777.html shows that there must be MSMQ type library (it uses MSMQ_TLB and types like MSMQQueueInfo, and code like FQueue := CoMSMQQueue.Create;)
要创建Delphi包装器代码,可以使用以下命令:
To create the Delphi wrapper code you can use the following command:
tlibimp -P c:\windows\system32\mqoa30.tlb
这将创建一个pas和dcr(组件资源)文件
This will create a pas and a dcr (component resource) file
这篇关于安装Microsoft消息队列(MSMQ)ActiveX的步骤?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!