<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Help with DynamicTextGetTextW</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c3d1faafb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c3d1faafb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/8c3d1faafb/</id><updated>2024-09-03T14:39:00.787000Z</updated><subtitle>Recent posts to Help with DynamicTextGetTextW</subtitle><entry><title>Help with DynamicTextGetTextW</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c3d1faafb/?limit=25#d0ab" rel="alternate"/><published>2024-09-03T14:39:00.787000Z</published><updated>2024-09-03T14:39:00.787000Z</updated><author><name>thedertom</name><uri>https://forge.codesys.com/u/thedertom/</uri></author><id>https://forge.codesys.com22f8b0a2e9f2f6058e50e570865fc3313f924746</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi TimvH, thanks for your reply.&lt;/p&gt;
&lt;p&gt;Yes I got that figured out now. &lt;br/&gt;
However: in "myWstringVariable" it will only store the first character of the text. &lt;br/&gt;
How do I get the full text?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Help with DynamicTextGetTextW</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c3d1faafb/?limit=25#f3c0" rel="alternate"/><published>2024-09-03T13:29:55.833000Z</published><updated>2024-09-03T13:29:55.833000Z</updated><author><name>TimvH</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com5f78cc8f0330b485855cb549098f5b314d932922</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;First of all you need to enable "Use unicodestrings" in the Visualization Manager.&lt;/p&gt;
&lt;p&gt;This function returns a pointer to a WSTRING (not STRING).&lt;/p&gt;
&lt;p&gt;To get this wstring value, do something like this:&lt;br/&gt;
VAR&lt;br/&gt;
    myWstringVariable : WSTRING(255);&lt;br/&gt;
END_VAR&lt;br/&gt;
myWstringVariable := myResult^; // this is dereferencing the pointer to the WSTRING.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Help with DynamicTextGetTextW</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c3d1faafb/?limit=25#7319" rel="alternate"/><published>2024-09-02T07:58:17.160000Z</published><updated>2024-09-02T07:58:17.160000Z</updated><author><name>thedertom</name><uri>https://forge.codesys.com/u/thedertom/</uri></author><id>https://forge.codesys.comaf857a9edf729e53ec60ba0b100999e8b5a79299</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I try to get korean texts out of a textlist. For that I want to use DynamicTextGetTextW, but I am a little confused how it is supposed to work.&lt;/p&gt;
&lt;p&gt;The function returns POINTER TO STRING, but how do I get WSTRING?&lt;/p&gt;
&lt;p&gt;I succesfully used DynamicTextGetText with classical Strings.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>