Atozed Forums
TIdMessage.LoadFromStream: Missing fields - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Open Source (https://www.atozed.com/forums/forum-19.html)
+--- Forum: Indy (https://www.atozed.com/forums/forum-9.html)
+--- Thread: TIdMessage.LoadFromStream: Missing fields (/thread-3062.html)

Pages: 1 2


RE: TIdMessage.LoadFromStream: Missing fields - BartKindt - 03-22-2023

Well, us usual you are right Remy.

I forgot to reset the Stream to zero.

You did warn me about that two weeks ago, but at that time I was mostly trying to get the ReadFromFile to work, in which case the Stream position was not relevant... and then I forgot...

So it works fine now reading the Stream back.
And also thanks for the information about the IdMessageHelper, this was also very usefull.

Thanks again,

Bart