EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Send an integer and a string in the same message

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#3026
Posted: 05/31/2007 02:17:10
by Eva Vallada (Basic support level)
Joined: 05/31/2007
Posts: 2

I want to send an integer and a string into the same message. Is there any example? I saw the SendNote demo but the message is only a string from a edit text. I need to send the length of the string (integer) and the string into the same message.

Thank you
#3027
Posted: 05/31/2007 07:46:38
by Eugene Mayevski (EldoS Corp.)

If you have several data elements, you need to serialize them before sending. For example, you can
serialize the data by writing it to TMemoryStream and then sending the data block behind TMemoryStream.
In complex cases you can use MCDataTree class.


Sincerely yours
Eugene Mayevski
#3030
Posted: 05/31/2007 09:27:29
by Eva Vallada (Basic support level)
Joined: 05/31/2007
Posts: 2

Is there any demo or example using MCDataTree class?

Thank you
#3031
Posted: 05/31/2007 09:33:34
by Eugene Mayevski (EldoS Corp.)

There are no samples available, but for your particular task MCDataTree is an overkill. Just saving the data to a memory stream will be more than enough.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 4282 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!