<div dir="ltr">Hi Atilla,<div class="gmail_extra"><br><div class="gmail_quote">On 30 July 2014 21:55, Attila Bernáth <span dir="ltr"><<a href="mailto:attila.bernath@sztaki.hu" target="_blank">attila.bernath@sztaki.hu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">> packing and unpacking the data, the TimeString structure contains a time<br>

> member, which you are not setting anywhere and so will contain uninitialised<br>
> values when you put it into the byte string.<br>
</div>I am afraid I don't understand this part.<br>
In the code I attached the TimedStringSeq data is obtained from some<br>
byte array using the cdrmemorystream interface.<br>
I obtained this byte array from some TimedStringSeq data: in that I<br>
set the time member.<br>
Can you explain a bit better, please?<br>
<div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div>The byte stream contains data that has been converted so that it can be transmitted to other entities that want to use it. These may be programs on the same computer, or on another computer using the same OS and CPU, etc., or they may be on a completely different type of computer. This means that the data is altered a little or a lot depending on how different the way data is structured by the memory, CPU, OS, data packing software, etc. that are in use is from how data is structured by the platform-neutral transport. Even if you fill in all the data fields, that does not mean that the packed data will be identical every time.</div>
<div><br></div><div>In general, if you get the same data out that you put in, you do not need to worry about what the packed data looks like. Only worry about that if you start getting different data out and you are debugging the data transport.</div>
<div><br></div><div>I agree that it is interesting to know how all this stuff works internally, but in this case the best place you can look for information is the CORBA specification's section on the Inter-Orb Protocol.</div>
<div><br></div><div>Geoff</div></div></div></div>