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 Mike Lewis 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 how to force data into unmanaged world

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. When I access this dll(ufl) from crysal reports 10, the chinese string shows up as ?????.

To force the data, I tried using:
[return: Marshalas(UnmanagedType.BStr)]

but still shows as ????. Is there anything I should do to force the chinese data into the unmanaged world.

Anyone to shed some relevant topic would be appreciated.

thanks
saj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top