ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to use Object oriented programming for Mqseries(using VB

Post new topic  Reply to topic
 How to use Object oriented programming for Mqseries(using VB « View previous topic :: View next topic » 
Author Message
ashutosh
PostPosted: Tue Mar 12, 2002 2:16 am    Post subject: Reply with quote

Novice

Joined: 06 Mar 2002
Posts: 10

Do Application using Mqseries needs always to include all the Structure, Functions and constants used by MQI API Calls such as MQCONN,MQOPEN, etc..?

Can they all not be combined into a single DLL and then the VB Program will refer to those Structure,Functions and constants by creating new objects in the program.Is it possible to do it in VB?

This could give advantage of hiding the details of the structure,Functions and constants from the developer and enabling him to focus only on struture parameters which are frequently changing.

For e.g something like this

dim x as new MQSERIES.MQPMO(DLL name.Class name )
x.options=MQSYNCPOINT

Back to top
View user's profile Send private message
mqonnet
PostPosted: Tue Mar 12, 2002 5:30 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Not quite sure if that would be of any benefit or not, unless all your apps which refer to such a Command Dll/program do the same stuff. Because each app has it's own requriements and so it needs to pass in it's own options for the open, put, get and others. You cannot of course generalize this by saying that i would only connect Non-Fastpath, put only persistent messages under syncpoint, for all your applications.
Which kind of leads us to the point where in we must supply some more values/parameters to this Dll. Which eventually brings us to square one. Why not use the calls itself, with a little overhead of writing down the piece of code again and again.
Hope this helps.
Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to use Object oriented programming for Mqseries(using VB
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.