jrlarkin87
7th December 2011, 17:24
Hi guys,
I am not sure this applies to this forum but not sure where else to ask. Currently I am creating a Plugin for C++. I am using OBDC to connect to database. When I run the connection its returning me an unsigned char*. I want to return that unsigned char* to NSIS. When I display it using cout it seems to work! When I try to type cast it Ex. (char)variablename, it is returning me J followed by some weird characters looks like a U with a carrot on top and a Box. Is there some kind of special conversion I need to do for the NSIS? When I convert and display in a consule app I built for testing I didn't have this problem!?
I am not sure this applies to this forum but not sure where else to ask. Currently I am creating a Plugin for C++. I am using OBDC to connect to database. When I run the connection its returning me an unsigned char*. I want to return that unsigned char* to NSIS. When I display it using cout it seems to work! When I try to type cast it Ex. (char)variablename, it is returning me J followed by some weird characters looks like a U with a carrot on top and a Box. Is there some kind of special conversion I need to do for the NSIS? When I convert and display in a consule app I built for testing I didn't have this problem!?