Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.net com interop dll returns chinese/japanese string

Status
Not open for further replies.

smsaji

Programmer
Jun 26, 2005
91
CA
Hi,

I have a .net com interop dll. The function in it returns a chinese string. I want to make sure it has the chinese string in the unmanaged world. For manual marshal,I read about using

tlbimp dllname.dll /out:dllname_interop.dll

and access dllname_interop.dll from other applications. (have not tried it. should I be using tlbexp, too)

I tried [return: Marshalas(UnmanagedType.BStr)] but I don't see the chinese string in the called application (Crystal reports 10 - displays as ??).

Anyone to shed some relevant topic would be appreciated.

thanks
saj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top