IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Linking the sample c++ programs of MQS


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mtp

New User


Joined: 06 Oct 2005
Posts: 2

PostPosted: Thu Oct 06, 2005 2:37 pm
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
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Thu Oct 06, 2005 3:12 pm
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
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts Recompiling programs after a copybook... COBOL Programming 1
Search our Forums:

Back to Top