Steps to install Microsoft Message Queuing (MSMQ) ActiveX?

那年仲夏 提交于 2019-12-24 09:25:18

问题


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).

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.


回答1:


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;)

To create the Delphi wrapper code you can use the following command:

tlibimp -P c:\windows\system32\mqoa30.tlb

This will create a pas and a dcr (component resource) file



来源:https://stackoverflow.com/questions/4225282/steps-to-install-microsoft-message-queuing-msmq-activex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!