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 » how to locate 'imqi.hpp' from node-gyp

Post new topic  Reply to topic Goto page Previous  1, 2
 how to locate 'imqi.hpp' from node-gyp « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Fri Jun 19, 2015 4:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Also, remember that sprintf is not necessarily threadsafe.
Back to top
View user's profile Send private message
sebastia
PostPosted: Fri Jun 19, 2015 4:40 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

yes, I am trying crazy thing with strings ...

*) NanUtf8String szQMN ( ) ;
*) String::Utf8Value szQMN ( ) ;

... but I dont like it ... I am without documentation, no theory.

sprintf() ?
if I am in v8 kingdom, and node-js if UTF-8,
going into "c-style" strings ... I dont know.
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Fri Jun 19, 2015 5:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

sebastia wrote:
sprintf() ?
if I am in v8 kingdom, and node-js if UTF-8,
going into "c-style" strings ... I dont know.

Well. swprintf.

Again, making sure to find a threadsafe version.

Or a C++ version - some form of < or >? I forget my C++.

The point is to create a proper string before you pass it to the constructor or assign it to the value.
Back to top
View user's profile Send private message
sebastia
PostPosted: Fri Jun 19, 2015 5:03 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

I understand the idea.
Thanks, Jeff.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » how to locate 'imqi.hpp' from node-gyp
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.