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 IndexIBM MQ API SupportCompiling C++ MQ-Code under WinNT using Borland

Post new topicReply to topic
Compiling C++ MQ-Code under WinNT using Borland View previous topic :: View next topic
Author Message
tony@work
PostPosted: Tue Nov 13, 2001 7:56 pm Post subject: Reply with quote

Newbie

Joined: 12 Nov 2001
Posts: 9
Location: Australia

Does anyone know how to get a Borland C++ Compiler to recognise the imqc23vn.lib file when 'building' an MQ-Client Application?

All the evironment/project settings include the location (path) of this *.lib file. My code compiles ok, yet fails to recognise/find the MQ-C++ Classes/Methods during 'build' time. (Am I on the right file track, or is there something else that I may have possibly overlooked?)

All the examples in the IBM books and misc. resources refer to Microsoft Visual C++ as the compiler of choice, which isn't a lot of use if you are a Borland user.

Thanks in advance ...
Tony.
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Nov 14, 2001 2:58 pm Post subject: Reply with quote

Jedi Knight

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

It has been a while (over 3 years), but I believe the problem you are encountering is with the signature of the functions inside the library. I thought that you had to run some kind of utility (implib?) against the DLL to generate a Borland version of the library that you link against. Sorry that I can't remember any more....
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Armin
PostPosted: Fri Nov 16, 2001 11:08 am Post subject: Reply with quote

Novice

Joined: 24 Jul 2001
Posts: 15
Location: Germany

Maybe the article at http://www.bcbdev.com/articles/vcdll.htm will help you. It describes how to call MS Visual C++ DLL from Borland. I know, MQSeries has no dll but library files. But it maybe will give a good starting point to understand the problem. If you get it to work, please post your solution in this forum. I'm very interested in using Borland C++ Builder with mqseries. Would be nice to have IBM deliver libraries for Borland C++ / Delphi Compilers.

Good luck
Armin
Back to top
View user's profile Send private message
mr.red
PostPosted: Mon Nov 19, 2001 5:34 am Post subject: Reply with quote

Newbie

Joined: 24 Oct 2001
Posts: 3
Location: Russia

Use exploit coff2omf.exe from following path
($BCB)bin to convert VC format.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ API SupportCompiling C++ MQ-Code under WinNT using Borland
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.