-
MSMQ problem
I'm creating a .NET Web Service which needs to send messages to an existing message queue. A VB6 COM object picks up the messages from this queue, and will continue to receive messages sent to it by COM code as well as my new .NET code. However the Body of the message is being received as a string of question marks (like this ??????????). So I assume that the format of the message I am sending from .NET is not readable by the COM component.
I can't find anything on the net to confirm my suspicions though.
Has any one had a similar problem?
Cheers
-
Found it! It needs the ActiveXMessageFormatter like so...
Message messageContent = new Message(msgDetail, new System.Messaging.ActiveXMessageFormatter());