|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Client application in Windows environment |
« View previous topic :: View next topic » |
Author |
Message
|
wih |
Posted: Tue Oct 28, 2003 7:33 am Post subject: Client application in Windows environment |
|
|
Newbie
Joined: 25 Oct 2003 Posts: 2
|
When coding a client application in a Windows environment, what is the best method to access WebSphere MQ; the ActiveX control MQAX200.DLL, or the MQxxxx commands? In my installation, the server in on an Enterprise Server, z800.
All of the VB examples included with the client and developer's tools use the MQxxxx commands, but when I try to run them, I receive the error "MQM.DLL not found". When I use the ActiveX control in VB, on Get() method for the Queue object, I get the error "Object does not support this property or method". I cut and pasted the same exact code into VB.NET, and it runs fine. Also, the same code (syntax changed for the language) works in PowerBuilder.
I will be going live in three weeks with a PowerBuilder app using the ActiveX control for the client. My next project will be in VB or VB.NET, and I am confused as to which way to code it.
Any suggestions? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 28, 2003 8:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Client applications link against mqic32.dll, not mqm.dll. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
psanders |
Posted: Tue Oct 28, 2003 1:08 pm Post subject: VB6 |
|
|
Apprentice
Joined: 02 Apr 2002 Posts: 27
|
We use VB6 through the MQAX200 and it works well. It is funny about throwing errors though. You have to either change ErrorThreshhold or check CompletionCode and ReasonCode. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|