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 » IBM MQ API Support » MQSeries Client and Delphi, conn. to remote

Post new topic  Reply to topic
 MQSeries Client and Delphi, conn. to remote « View previous topic :: View next topic » 
Author Message
MH0
PostPosted: Thu Apr 24, 2003 4:31 am    Post subject: MQSeries Client and Delphi, conn. to remote Reply with quote

Newbie

Joined: 24 Apr 2003
Posts: 3

Hi!

Well my problem is, as you can see in the subject of this thread, connecting to a QueueManager on a remote machine. I'm using Delphi and in this case it has to be the ver. 3. Fact is that I have no idea how to do this. Till now I installed the MQSeries Client for WinNT on the client machine and defined an Environment Variable MQMANAGER=CLIENT.TO.HOSTM/TCP/192.168.0.1. On the server side I defined a channel with the same name and CHLTYPE(SVRCONN).
Ok, now to Delphi. I used MQSeries before with Delphi but always asinhronous. I imported MQAX200_TLB provided in ma7b. I had to do some changes to the library and it works perfect. But now I have to read/write into a QUEUE on a remote machine. Oh, almost forgot, my Client ver. is 5.2.

any help is welcome,
regards, MH
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Apr 24, 2003 7:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I can't claim to know anything about Delphi. However, I would guess that when you connect to your queue manager, you have an option of passing in the MQCNO structure. You can set your channel name, hostname, and port in this structure.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
MH0
PostPosted: Thu Apr 24, 2003 11:06 pm    Post subject: Reply with quote

Newbie

Joined: 24 Apr 2003
Posts: 3

My problem is more Delphi- than MQSeries-specific.
Back to top
View user's profile Send private message
MH0
PostPosted: Fri Apr 25, 2003 6:49 am    Post subject: Reply with quote

Newbie

Joined: 24 Apr 2003
Posts: 3

Looks like I figured it out....works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQSeries Client and Delphi, conn. to remote
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.