开发者

Steps to install Microsoft Message Queuing (MSMQ) ActiveX?

开发者 https://www.devze.com 2023-01-25 18:23 出处:网络
On Windows Vista Business, I installed the MSMQ core components but I can not see a \'Microsoft Me开发者_StackOverflow中文版ssage Queuing\' ActiveX (I want to import it in Delphi).

On Windows Vista Business, I installed the MSMQ core components but I can not see a 'Microsoft Me开发者_StackOverflow中文版ssage 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号