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 Index » IBM MQ API Support » windows development requirement

Post new topic  Reply to topic
 windows development requirement « View previous topic :: View next topic » 
Author Message
nattylife
PostPosted: Fri Jan 23, 2015 2:56 pm    Post subject: windows development requirement Reply with quote

Newbie

Joined: 23 Jan 2015
Posts: 7

im having issues upgrading an old C++ project built in visual studio 6.0 to visual studio 2010. im running into linker errors with the libraries im linking to.

my question is the dev box im developing on with VS2010 doesnt have MQ installed at all on it, we just have the folder package copied from the server we have it installed on so that the project is pointing to the includes and libs from it.

do i need to have MQ installed on the same box as VS2010?

the old project was using MQ 5 i believe, and the customer is upgrading to MQ8 along with going from win server 2k3 to win server 2012R2. we orginally tried just putting the old code on the new server but it would crash when it tried to send a message through MQ (it connected fine to the queue manager).
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Jan 23, 2015 3:25 pm    Post subject: Re: windows development requirement Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

nattylife wrote:
we just have the folder package copied from the server we have it installed on so that the project is pointing to the includes and libs from it.

Bad idea. Just install MQ v8.0 on your dev box and everything will be fine.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
nattylife
PostPosted: Mon Jan 26, 2015 10:57 am    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2015
Posts: 7

hmm, we installed MQ8 but still run into the same issues. i do see from this article
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.pro.doc/q115350_.htm

that MQ8.0 was built using VS2012. is it possible that using VS2010 for my dev could be causing a linking issue? just find it weird that it looks to have an issue with a function that in our own code
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Jan 26, 2015 11:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

nattylife wrote:
is it possible that using VS2010 for my dev could be causing a linking issue?

No. I use MQ v8.0 on Win 7 64-bit with Visual C++ 2010 and it works just fine.

nattylife wrote:
just find it weird that it looks to have an issue with a function that in our own code

First fix issues in your own code then move on to other issues.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
PaulClarke
PostPosted: Mon Jan 26, 2015 2:11 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

What actually are the linker problems. If we had the complete set of messages we may be able to suggest something.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
nattylife
PostPosted: Tue Jan 27, 2015 5:43 am    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2015
Posts: 7

ok, i solved the linker issues. seems converting from the old VC++6.0 to 2010 has its share of conversion issues that were not completely solved. so we've made it pasting compiling and linking. on a whim i posted on the VS forums in a more general search involving converting from 6.0 to 2010.

my mistake was thinking that MQ was the culprit as the linking issue was with MQ derived classes. so now we can move forward with testing. thanks for your advice and info!
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jan 27, 2015 5:48 am    Post subject: Reply with quote

Poobah

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

So, exactly how did you fix this? What was/were the underlying probmem(s)?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
nattylife
PostPosted: Tue Jan 27, 2015 1:33 pm    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2015
Posts: 7

a couple of things including:
http://support.microsoft.com/kb/309801

and incorrect libs that the main project links to in the projects main directory.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » windows development requirement
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.