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 SupportC/C++ Set USERID_DATA

Post new topicReply to topic Goto page Previous  1, 2
C/C++ Set USERID_DATA View previous topic :: View next topic
Author Message
bruce2359
PostPosted: Thu May 09, 2019 3:30 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 8419
Location: US: west coast, almost. Otherwise, enroute.

ratzrattillo wrote:
I was having a misconfiguration in my Visual Studio project settings where i was linking to old/maybe wrong version of both the mqm.lib and mqci.lib. I removed these linking directives and set new ones in my sourcecode using a #pragma directive. This allowed me to connect to a local queue manager.

Again I ask: exactly and precisely what did you change (from what to what) to get this to work?
_________________
There are two types of people in this world:
1) Those that can extrapolate from incomplete data
Back to top
View user's profile Send private message
hughson
PostPosted: Thu May 09, 2019 12:38 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1148
Location: Bay of Plenty, New Zealand

I don't believe there is anything you cannot do with MQCSP. Compatibility mode was only retained in MQ Explorer in case of Security exits relying on the old mechanism.
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
ratzrattillo
PostPosted: Sun May 19, 2019 11:27 pm Post subject: Reply with quote

Newbie

Joined: 29 Jan 2018
Posts: 8

@bruce2359

I used the following Libraries to create a C++ Client Applications:

[code]
#pragma comment(lib, "C:\\Program Files\\IBM\\MQ\\Tools\\Lib64\\imqc23vnvs2017.lib") //Client Library
#pragma comment(lib, "C:\\Program Files\\IBM\\MQ\\Tools\\Lib64\\imqb23vnvs2017.lib") //Base Library


#include <imqi.hpp>[/code]

I dont remember what i had before, sorry!

Greetings!
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum IndexIBM MQ API SupportC/C++ Set USERID_DATA
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.