<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Pointer to Program</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a8b6ac0727/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a8b6ac0727/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a8b6ac0727/</id><updated>2020-02-27T13:53:44.320000Z</updated><subtitle>Recent posts to Pointer to Program</subtitle><entry><title>Pointer to Program</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a8b6ac0727/?limit=25#3a32" rel="alternate"/><published>2020-02-27T13:53:44.320000Z</published><updated>2020-02-27T13:53:44.320000Z</updated><author><name>ncamargot</name><uri>https://forge.codesys.com/u/ncamargot/</uri></author><id>https://forge.codesys.comebf628a462a748c7074d4d86cd1634144089ccdd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm currently working on a project where I need to use the address of a CFC declared as a program (PRG), according to the API of Pointer, it should be possible to obtain the address of a program, however I have not been able to find the appropriate syntax.&lt;/p&gt;
&lt;p&gt;When I try something like: &lt;/p&gt;
&lt;p&gt;ptrMyProgram: POINTER TO MyProgram;&lt;/p&gt;
&lt;p&gt;I get the following error:&lt;/p&gt;
&lt;p&gt;'Myprogram' is of type PROGRAM and cannot be instantiated&lt;/p&gt;
&lt;p&gt;Does someone know how can I define a pointer of a program?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Nicolas&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>