Alex Rufon wrote: > I know that everyone should be upgrading to J601 but my client is > running a production system in China and I'm in the Philippines so > updates are a bit tricky. > I agree. It takes one or two days to convert the code, but it takes several months to fully debug and field test.
> So here's the problem. I have a VB6 COM DLL which exposes a Function > Returning UNICODE characters from wd is not a problem since all I had to > do was change the code to: > vdata=. u: wd 'olemethod r base executeSQL *', y. > Assume the VB6 COM DLL is written by you, you may convert unicode to/from utf8 vdata=. ucs2 wd 'olemethod r base executeSQL *', utf8 y. u: alone cannot recover returning unicode. you need to change VB DLL to accept utf8 and return utf8. use WideCharToMultiByte and WideCharToMultiByte api to convert between unicode and utf8 -- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
