Importing Japanese text

I’ve got a C API application that I use toimport text into a Notes database. I’ve got

some text in charset ISO-2022-JP (Japanese)

that I want to convert to LMBCS. My thought

was to call NLS_load_charset (charset

NSL_CIS_JIS) then call MultiByteToWideChar to

get it into Unicode, then call NLS_Translate.

Does this sound workable? When I tried it,

the application crashed on the NLS_load_charset

call. It’s a very simple API so I can’t see

how I could mess it up. Any ideas?