|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
troubles on c++ api in VisualC++ 6.0 and Windows2000 |
« View previous topic :: View next topic » |
Author |
Message
|
fagundes |
Posted: Wed Nov 26, 2003 8:24 am Post subject: troubles on c++ api in VisualC++ 6.0 and Windows2000 |
|
|
 Apprentice
Joined: 15 Aug 2003 Posts: 45
|
Hi all...
I compiled the c++ sample , but i can´t to run... because tre code doesn´t link.
I described the correct places of libraries and headers, but it doesn´t run...
Is there some compatibility trouble with the versions from Windows or VisaulC++ ?
My MQSeries Workflow is the release 3.3.
Thanks in advance.
Fagundes |
|
Back to top |
|
 |
cstauss |
Posted: Wed Nov 26, 2003 8:36 am Post subject: |
|
|
Apprentice
Joined: 20 Feb 2002 Posts: 36
|
This sounds like a VS issue. try opening again in VS 6 and when prompted to update, say yes...
cstauss |
|
Back to top |
|
 |
jmac |
Posted: Wed Nov 26, 2003 1:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Fagundes contacted me directly by email... here is our exchange on this topic:
I´m sorry for my "polite fault".
In the Programming Guide, on Chapter 18 there is one recommendation
for setting the path (for libs ) to
C:\Program Files\MQSeries Workflow\BIN
C:\Program Files\MQSeries Workflow\API
C:\Program Files\MQSeries Workflow\BIN\MQClient
D:\Program Files\MQSeries Client\bin
I did it .... but the error continues...
I have got the MQSWf 3.3 + Win 2000 + MSVC++ 6.0
Thanks in advance .
Fagundes
- - -
Fagundes:
No need for an apology.....
I think what you are missing is the specification of the lib files...
I haven't done any C/C++ development for a while... but I believe you need to open your project... then go to Project Settings, then go to the Link tab:
Now in the project options I generally use fmcjdcom.lib and fmcjdrun.lib... There are other files too, I don't recall their names, but they should be documented. Most of the time you only need the two I am listing above... so just be sure you have those then try to rebuild... If that cuts down on some of your errors, look up the lib names of the other lib files and add them in.
Hope this helps....
GOOD LUCK _________________ John McDonald
RETIRED |
|
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
|
|
|
|