Thank you for your answer, I understand that the Widcomm stack is sending the name of the device as multi-byte, not as unicode, but I can't understand why the bytes are of the same value. That's what I'm trying to find out.
Could you please be so kind and try to go through a short debug just to see why this is happening? I just need to know why the name is sent as multi-bytes with the same value for all the bytes.
If you want me to help you with this, maybe because you can't set your mobile name to unicode, you can send me a debug version of your dll, or maybe a dll that dumbs the name to the hard drive and I will send you the result.
thanks in advance.