<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/txobject/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/txobject/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/txobject/feature-requests/</id><updated>2001-12-11T21:52:04Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>stream overlay breaks with obj-ref turned On</title><link href="https://sourceforge.net/p/txobject/feature-requests/1/" rel="alternate"/><published>2001-12-11T21:52:04Z</published><updated>2001-12-11T21:52:04Z</updated><author><name>Thomas Hazel</name><uri>https://sourceforge.net/u/thazel/</uri></author><id>https://sourceforge.net7cc3d823fd8833d6d4bb82ca57e19b0c19d5807f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There is a bug in object serialization when streaming &lt;br /&gt;
complex objects with &amp;amp;quot;Object Referencing&amp;amp;quot; turned on. &lt;br /&gt;
The problem arises when overlaying a stream on a non-&lt;br /&gt;
pointer object.&lt;/p&gt;
&lt;p&gt;void example (void)&lt;br /&gt;
{&lt;br /&gt;
txList list;&lt;br /&gt;
list.insert(new txString(&amp;amp;quot;ABC-134&amp;amp;quot;));&lt;/p&gt;
&lt;p&gt;txOut out;&lt;br /&gt;
out.objectReferencingOn(); // turn obj-ref on.&lt;/p&gt;
&lt;p&gt;out &amp;amp;lt;&amp;amp;lt; list;&lt;br /&gt;
list.clearAndDestroy();&lt;/p&gt;
&lt;p&gt;// this will fail&lt;br /&gt;
in &amp;amp;gt;&amp;amp;gt; list;&lt;/p&gt;
&lt;p&gt;// this will work&lt;br /&gt;
txList *plist&lt;br /&gt;
in &amp;amp;gt;&amp;amp;gt; plist;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;This example will work for both cases if &amp;amp;quot;Object &lt;br /&gt;
Referencing&amp;amp;quot; is turned off (off by default). I will &lt;br /&gt;
deliver a fix in the next release.&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>