I am using the NLS_translate function to convert LMBCS to UNICODE. I have allocated a buffer much larger than the conversion string e.g. 2k when the strings are <200 bytes. After the first call, I get the NLS_BUFFERTOOSMALL status returned (0xa000) and the output length is 0. I don’t see a way to tell the routine how big the output buffer is so I am not sure how to get around this problem. Has anyone else seen this?
I am using Visual Studio 2003, Windows XP, and the C++ package for the other database access functions.