|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| Delphi (Rio) and MQ | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | NamoRamana | 
			  
				|  Posted: Fri Sep 04, 2020 5:03 am    Post subject: Delphi (Rio) and MQ |   |  |  
		  | Newbie
 
 
 Joined: 03 Sep 2020Posts: 2
 
 
 | 
			  
				| Have an old 32-bit application written in Delphi 2009 that polls various queues (in transaction mode) on MQ server. The connection to MQ server from delphi client was made through MQ activeX. Recently, we upgraded to MQ appliance and Delphi Rio. Converted the app and luckily its still working in 32 bit. 
 As I understand, IBM MQ is no longer supporting its activeX client and, moving forward, 64-bit activeX seems out of question. From various links, came to know that IBM used to provide header files (MQI.pas and MQIC.pas) as a part of some support pack. Those links have dried out. So I tend to believe, there is no exclusive support for Delphi clients, unlike C#, Java etc from IBM MQ at this point.
 
 We do have plans to convert the app to 64 bit. In this case, what are my alternates to connect to MQ appliance though Delphi Rio in 64bit?
 |  |  
		  | Back to top |  |  
		  |  |  
		  | fjb_saper | 
			  
				|  Posted: Fri Sep 04, 2020 8:52 am    Post subject: Re: Delphi (Rio) and MQ |   |  |  
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| 
   
	| NamoRamana wrote: |  
	| Have an old 32-bit application written in Delphi 2009 that polls various queues (in transaction mode) on MQ server. The connection to MQ server from delphi client was made through MQ activeX. Recently, we upgraded to MQ appliance and Delphi Rio. Converted the app and luckily its still working in 32 bit. 
 As I understand, IBM MQ is no longer supporting its activeX client and, moving forward, 64-bit activeX seems out of question. From various links, came to know that IBM used to provide header files (MQI.pas and MQIC.pas) as a part of some support pack. Those links have dried out. So I tend to believe, there is no exclusive support for Delphi clients, unlike C#, Java etc from IBM MQ at this point.
 
 We do have plans to convert the app to 64 bit. In this case, what are my alternates to connect to MQ appliance though Delphi Rio in 64bit?
 |  
 You can use C, C# to connect to MQ. I bet you coud even use VB.Net embedding the C# stuff... Depending on the libs you link you will have a 32 bit or a 64 bit package....
  _________________
 MQ & Broker admin
 |  |  
		  | Back to top |  |  
		  |  |  
		  | NamoRamana | 
			  
				|  Posted: Fri Sep 04, 2020 9:41 am    Post subject: |   |  |  
		  | Newbie
 
 
 Joined: 03 Sep 2020Posts: 2
 
 
 | 
			  
				| @fjb_saper. Yes, those MQI.pas and MQIC.pas were the delphi specific header files which internally converted calls to C libraries. Looks like love is lost between IBM and Delphi and so they are not giving those header files. The other option is to get C/C++ header files and convert them in .pas by hand. Long road... I wish and pray IBM MQ restart the support for Delphi as well like they have for the rest of the programming-world. |  |  
		  | Back to top |  |  
		  |  |  
		  | hughson | 
			  
				|  Posted: Sun Sep 06, 2020 9:07 pm    Post subject: |   |  |  
		  |  Padawan
 
 
 Joined: 09 May 2013Posts: 1967
 Location: Bay of Plenty, New Zealand
 
 | 
			  
				| 
   
	| NamoRamana wrote: |  
	| Long road... I wish and pray IBM MQ restart the support for Delphi as well like they have for the rest of the programming-world. |  Don't wish and pray, instead raise an RFE - that is more likely to get the attention of the decision makers in IBM MQ.
 
 Cheers,
 Morag
 _________________
 Morag Hughson @MoragHughson
 IBM MQ Technical Education Specialist
 Get your IBM MQ training here!
 MQGem Software
 |  |  
		  | Back to top |  |  
		  |  |  
		  | fjb_saper | 
			  
				|  Posted: Sun Sep 06, 2020 10:53 pm    Post subject: |   |  |  
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| you're talking about pas headers, does that mean that you're programming in Pascal? Doesn't the Pascal compiler also use C header and embedded C functions?
 So write your own wrappers !!!
 
  _________________
 MQ & Broker admin
 |  |  
		  | Back to top |  |  
		  |  |  
		  | markt | 
			  
				|  Posted: Mon Sep 07, 2020 12:14 am    Post subject: |   |  |  
		  |  Knight
 
 
 Joined: 14 May 2002Posts: 512
 
 
 | 
			  
				| The MQ product itself never provided any Delphi linkage. However there was a separate SupportPac MA7Q that had a version of the header files like cmqc.h mapped into Pascal. It was a Cat4 SupportPac, so was never provided by anyone in IBM. 
 That SupportPac will have gone from public download a long time ago, and I would expect that the header files were out of date even then.
 |  |  
		  | 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
 
 |  |  |  |