Pisharath,
I do not think that you can get away without installing the base MQSeries
Client for your platform. It will add entries to the registry, update
environment variables, provide conversion tables and the like. The DLLs
alone just don't do the job. You don't need to install everything (toolkit,
samples, docs, etc.) and you can perform a silent install if you wish to
keep the installation footprint small.
Library files (.LIB) are generally only needed during build time, the
runtime environment just makes use of the DLL files that come with the MQ
client installation.
My 2 cents,
Stefan


>From: Pisharath Krishnan <[EMAIL PROTECTED]>
>Reply-To: MQSeries List <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: basic question - how to connect to MQSeries server
>Date: Thu, 25 Jul 2002 11:21:53 -0700
>
>
>Thanks for your help aby. I tried using just the two lib files (and the
>header files, and dlls for running the app). But when I am trying to run
>the app, it is giving me and error like this:
>... could not display the text for error 536895891
>and finally, failure with reason code 2195 (which is unexpected error)
>However, if I install the client, everything runs fine... I would love to
>avoid having to install the full client.... do you have any idea what I am
>doing wrong ?
>Thanks,
>- krishnan
>   "Philip, Aby" <[EMAIL PROTECTED]> wrote: Hi Pisharath,
>You do not have to create channels on the client to connect to the server.
>since you are using C++ you need to set an environment variable called
>MQSERVER=SYSTEM.DEF.SVRCONN/TCP/'connection name(port number)' In this case
>the client connection part is done for you by MQSeries.
>
>The channel SYSTEM.DEF.SVRCONN can be replaced with your server connection
>channel, same for the connection protocol.
>
>Using the MQSERVER means that you are restricting your queue managers to
>one
>machine on one port. If you want to connect to queue managers on multiple
>hosts and ports you can also use the MQCONNX call. Here you can specify the
>hostname and port etc. (but that is in C but you can wrap it in the
>ImqQueueManager class).
>
>You could also go in for client connection tables.
>
>The libraries which you would need for a client connection are imqb23vn.lib
>and imqc23vn.lib.
>
>Of course there are a few dlls which you would need to get the app up and
>running as the libs are not enough.
>
>Hope this helps.
>
>Kind Regards
>Aby
>-----Original Message-----
>From: Pisharath Krishnan
>To: [EMAIL PROTECTED]
>Sent: 7/24/02 10:32 PM
>Subject: basic question - how to connect to MQSeries server
>
>I am writing an MQSeries app that will run C++ on NT (VC++) and need to
>connect to QueueManager on a UNIX box. The questions I have are:
>
>1. Is it absolutely necessary for me to load MQSeries client on the NT
>boxes (and then create channels etc), or is there a direct way of
>specifying the hostname to connect to as a parameter to MQCONN or
>something? If so, what libs do I need on the NT box for linking etc ?
>
>2. If it is indeed necessary to use MQ client, then do I really need to
>"install" the MQ client on each machine (there are a large number of
>users), or can I just link in the lib files ? If so, which files will
>the clients need for running the app ?
>
>Thanks in advance for any help,
>
>- krishnan
>
>
>
>
>_____
>
>Do You Yahoo!?
>Yahoo! Health - Feel better, live better
>
>Instructions for managing your mailing list subscription are provided in
>the Listserv General Users Guide available at http://www.lsoft.com
>Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
>
>---------------------------------
>Do You Yahoo!?
>Yahoo! Health - Feel better, live better




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to