Steps to install Microsoft Message Queuing (MSMQ) ActiveX?
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
精彩评论