<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic acutUpdString vs acutNewString in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709461#M9197</link>
    <description>&lt;P&gt;Can anyone point out the differences&amp;nbsp;between these two methods? It seems that they both allocate memory and copy the contents of another string to the new memory location. Which is the preferred method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2016 13:16:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-25T13:16:38Z</dc:date>
    <item>
      <title>acutUpdString vs acutNewString</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709461#M9197</link>
      <description>&lt;P&gt;Can anyone point out the differences&amp;nbsp;between these two methods? It seems that they both allocate memory and copy the contents of another string to the new memory location. Which is the preferred method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 13:16:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709461#M9197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-25T13:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: acutUpdString vs acutNewString</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709805#M9198</link>
      <description>&lt;P&gt;From ObjectARX Docs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;acutNewString &lt;/STRONG&gt;- function (only !!!) allocates a new string of length specified by nNumChars.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;acutUpdString&lt;/STRONG&gt; - function makes a copy of the pInput string and sets pOutput to point to the resulting copy. If pOutput is currently pointing to any allocated memory, then that memory is deallocated even if pInput is NULL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So those function have different usage.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 16:40:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709805#M9198</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2016-11-25T16:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: acutUpdString vs acutNewString</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709920#M9199</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When it comes to your development, do you use the AcString class or ACHAR* for member variables? Assuming you create custom objects. Do you find the AcString class buggy? I have found that occasionally I get Chinese characters because something gets corrupted somewhere along the line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 18:05:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709920#M9199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-25T18:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: acutUpdString vs acutNewString</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709936#M9200</link>
      <description>&lt;P&gt;I have not problem with using AcString, but I've used only English/Russian/Ukrainian symbols.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 18:18:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/acutupdstring-vs-acutnewstring/m-p/6709936#M9200</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2016-11-25T18:18:56Z</dc:date>
    </item>
  </channel>
</rss>

