I'm sending a message to an MSMQ from C# (ActiveXFormatter) and trying to read it in C++.
The body that I read is indeed the body of the message I sent but there is a '0' between each two characters (in C++).
I think it has to do with encoding but I'm not sure how to fix it.
I'm opening the MSMQ with VT_VECTOR | VT_UI1
.
I've try opening the MSMQ with VT_BSTR
with no luck
In C# I'm sending the message with a simple ActiveXFormatter
_sendQueue.Formatter = new ActiveXMessageFormatter();
_sendQueue.Send(myString);