<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to PLC Handler ActiveX [SOLVED]</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/</id><updated>2020-02-27T14:26:44.604000Z</updated><subtitle>Recent posts to PLC Handler ActiveX [SOLVED]</subtitle><entry><title>PLC Handler ActiveX [SOLVED]</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/?limit=25#5d0c" rel="alternate"/><published>2020-02-27T14:26:44.604000Z</published><updated>2020-02-27T14:26:44.604000Z</updated><author><name>luca-macc</name><uri>https://forge.codesys.com/u/luca-macc/</uri></author><id>https://forge.codesys.com511bb2f7964963e286ba1bee22ca79c42375aedd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Update: I solved the problem, fortunately was not PLCHandler fault but a type problem in Embarcadero C++. The Variant type defined in RTL was different from the VARIANT returned by the PLC Handler. But this difference was not well documented.&lt;br/&gt;
Thanks to all&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PLC Handler ActiveX [SOLVED]</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/?limit=25#6037" rel="alternate"/><published>2020-02-27T14:26:44.132000Z</published><updated>2020-02-27T14:26:44.132000Z</updated><author><name>luca-macc</name><uri>https://forge.codesys.com/u/luca-macc/</uri></author><id>https://forge.codesys.com97a9641587cff50f735e134b37c18bbcbc778431</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Anyone who works with the PLCHandler in a IDE different from Visual Studio?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PLC Handler ActiveX [SOLVED]</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/?limit=25#cab6" rel="alternate"/><published>2020-02-27T14:26:42.868000Z</published><updated>2020-02-27T14:26:42.868000Z</updated><author><name>luca-macc</name><uri>https://forge.codesys.com/u/luca-macc/</uri></author><id>https://forge.codesys.com35b874458078ab0d09f8b6126a11f27a3bac8f99</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;another up &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PLC Handler ActiveX [SOLVED]</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/?limit=25#0978" rel="alternate"/><published>2020-02-27T14:26:42.432000Z</published><updated>2020-02-27T14:26:42.432000Z</updated><author><name>luca-macc</name><uri>https://forge.codesys.com/u/luca-macc/</uri></author><id>https://forge.codesys.comd0597fabf30362c9bf2d482d37a6e46fe2c02718</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;up  &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PLC Handler ActiveX [SOLVED]</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0a4fa8d7f2/?limit=25#a100" rel="alternate"/><published>2020-02-27T14:26:41.989000Z</published><updated>2020-02-27T14:26:41.989000Z</updated><author><name>luca-macc</name><uri>https://forge.codesys.com/u/luca-macc/</uri></author><id>https://forge.codesys.com134c57e28e78559794a620857ae609bbb8cb5d35</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good day to everyone,&lt;br/&gt;
My name is Luca and I'm new in the forum and in the Codesys world, so be patient with me &lt;br/&gt;
I recently started a new automation project that, in my plans, will run powered by a Codesys softPLC controlled by a C++ application that already controls a machine. &lt;br/&gt;
So the situation is that I already have a working C++ program where I want to add a control interface for the Codesys PLC.&lt;br/&gt;
To achive this result I implemented the PLC Handler, working with the ActiveX version of the library because my C++ IDE is Embarcadero C++ Builder and the static libs are made for Visual Studio.&lt;br/&gt;
Everything works fine except for a &lt;strong&gt;very big&lt;/strong&gt; problem: the ram usage grows every time I read vars from the PLC. &lt;br/&gt;
I've made some test applications and i've seen that the memory leak happens only when i interact with the PLC Handler.&lt;/p&gt;
&lt;p&gt;So my question is: is there anybody using the PLC Handler with the activeX? Is it possible that the PLC handler is not compatible with Embarcadero IDE? Maybe there is some things to do to make everything work properly...&lt;/p&gt;
&lt;p&gt;Any help will be greatly appreciated&lt;br/&gt;
Luca&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>