pass unicode from COM client to COM server
Posted on 2004-03-24
A COM server (VC6.0) which requires a string with unicode characters from client (VC6.0), therefore I defined a BSTR variable in COM server interface. it looks like:
On client side, my code looks like:
_bstr_t name("xxxxxxx"/*unicode might be inside of this string*/);
I found that only Ascii characters can be passed to COM server, I have no idea where those unicode characters are!, anybody can help me?
thanx in advance