Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Linking the sample c++ programs of MQS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
mtp

New User


Joined: 06 Oct 2005
Posts: 2

PostPosted: Thu Oct 06, 2005 2:37 pm    Post subject: Linking the sample c++ programs of MQS
Reply with quote

Hi,

I'm new to MQSeries and I'd like to write a simple C++ application, that gets messages from a queue. To understand how that works, I tried to compile and link the sample c++ program, which is provided in the MQS installation directory. I use Microsoft Visual C++ 6.0. Compiling works without problems, but I'm not able to link it. I just get an error such as "imqsget.obj : error LNK2001".

Are there any settings I have to set in ms visual c++ or where's my mistake?

Thanks for any help. Kind Regards

mtp
Back to top
View user's profile Send private message
References
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 491

PostPosted: Thu Oct 06, 2005 3:12 pm    Post subject: Re: Linking the sample c++ programs of MQS
Reply with quote

HI Mtp,

This is Mainframe Forum You can post your query reagarding Mainframe. I believe your query is not related to mainframe.

Regards

Rupesh
Back to top
View user's profile Send private message
mtp

New User


Joined: 06 Oct 2005
Posts: 2

PostPosted: Thu Oct 06, 2005 4:21 pm    Post subject:
Reply with quote

Hi Rupesh,

I thought that this is the right forum for questions on IBM MQSERIES cause it is named "MQSERIES & WEBSPHERE", isn't it? Just tell me which forum I should rather take next time.

However, I already found the problem. I just had to set some additional things in the vc++ environment, so that I can now compile and link the programs.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1