|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
how to locate 'imqi.hpp' from node-gyp |
« View previous topic :: View next topic » |
Author |
Message
|
mqjeff |
Posted: Fri Jun 19, 2015 4:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Also, remember that sprintf is not necessarily threadsafe. |
|
Back to top |
|
 |
sebastia |
Posted: Fri Jun 19, 2015 4:40 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Fri Jun 19, 2015 5:02 am Post subject: |
|
|
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 |
|
 |
sebastia |
Posted: Fri Jun 19, 2015 5:03 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
I understand the idea.
Thanks, Jeff. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|