PC Review


Reply
 
 
Arinté
Guest
Posts: n/a
 
      16th Jan 2007
We are having problems with get Double Byte characters from a COM object.
Below is a 3 column table showing the data we send and what we get back
inside of .Net.

Char Pre-Marshalling Post-Marshalling
Symbol ( DBCS hex ) (hex values for unicode string .net)
‰ 89 2030 ???
ï EF EF
” 94 201D ???
@ 40 40
Ò D2 D2
¼ BC BC
¶ B6 B6
Ë CB CB
” 94 201D ???
Ð D0 D0


This is the method we use to unmarshal
int PrintNormal(Int32 arg1, [MarshalAs(UnmanagedType.Bstr)] string arg2);
Any tips on proper unmarshalling?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:24 PM.