<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to PLCHandler callbacks using DLL:s C-interface</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/133c7e5a67/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/133c7e5a67/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/133c7e5a67/</id><updated>2020-02-27T18:54:53.045000Z</updated><subtitle>Recent posts to PLCHandler callbacks using DLL:s C-interface</subtitle><entry><title>PLCHandler callbacks using DLL:s C-interface</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/133c7e5a67/?limit=25#874c" rel="alternate"/><published>2020-02-27T18:54:53.045000Z</published><updated>2020-02-27T18:54:53.045000Z</updated><author><name>jaxelsson</name><uri>https://forge.codesys.com/u/jaxelsson/</uri></author><id>https://forge.codesys.com97d2b754ac270143efbf0ae18bcf23e31f8c0bb7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I got information from CodeSys that they are working on an update of the C-interface and at least some callbacks will be added  (DataChange and UpdateReady).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PLCHandler callbacks using DLL:s C-interface</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/133c7e5a67/?limit=25#0f0d" rel="alternate"/><published>2020-02-27T18:54:49.600000Z</published><updated>2020-02-27T18:54:49.600000Z</updated><author><name>jaxelsson</name><uri>https://forge.codesys.com/u/jaxelsson/</uri></author><id>https://forge.codesys.coma5eb742d1e226d32d448b8a35ded5bde47cd1a37</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We are trying to use the PLCHandler to read values from the PLC. The host application is written in Delphi and we use the C-interface of the DLL.&lt;/p&gt;
&lt;p&gt;In the supplied h-file (PLCHandlerItf.h) there are two callback functions defined (PLCHANDLERSCANNETWORKCALLBACK and PLCHANDLERBACKUPRESTORERESULTCALLBACK). There are no callbacks functions defined for the data change and state change callbacks though. I have tried using these callbacks without success.&lt;br/&gt;
Are these callback functions not supported using the C-interface? If it is, how shall the callback functions be declared and used?&lt;/p&gt;
&lt;p&gt;I do get the ScanNetwork callback working but as mentioned, not the state change or data change callbacks.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>