<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to how to execute a pointer to a function or a function block?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/acd25370a7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/acd25370a7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/acd25370a7/</id><updated>2020-02-27T14:21:16.386000Z</updated><subtitle>Recent posts to how to execute a pointer to a function or a function block?</subtitle><entry><title>how to execute a pointer to a function or a function block?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/acd25370a7/?limit=25#df2a" rel="alternate"/><published>2020-02-27T14:21:16.386000Z</published><updated>2020-02-27T14:21:16.386000Z</updated><author><name>Joan M</name><uri>https://forge.codesys.com/u/joan-m/</uri></author><id>https://forge.codesys.comfdca2674922ac41a479d8b38c8433a871beb9d8b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A pointer occupies the space a DWORD occupies (depending on the platform).&lt;/p&gt;
&lt;p&gt;But the DWORD is the address, not the pointer itself... when you create a pointer you create it giving it's type:&lt;/p&gt;
&lt;p&gt;a : pointer to fbxxx;&lt;/p&gt;
&lt;p&gt;Then you could simply call a:&lt;/p&gt;
&lt;p&gt;a^();&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to execute a pointer to a function or a function block?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/acd25370a7/?limit=25#42b7" rel="alternate"/><published>2020-02-27T14:21:15.965000Z</published><updated>2020-02-27T14:21:15.965000Z</updated><author><name>bacha.damin</name><uri>https://forge.codesys.com/u/bacha-damin/</uri></author><id>https://forge.codesys.comb176112f2ad0b3fe7b64605923bc68067ee5d9ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br/&gt;
Has your problem been resolved?&lt;br/&gt;
how can i pass a pointer to function to my external library?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to execute a pointer to a function or a function block?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/acd25370a7/?limit=25#e95e" rel="alternate"/><published>2020-02-27T14:21:15.563000Z</published><updated>2020-02-27T14:21:15.563000Z</updated><author><name>yue-qi-qi</name><uri>https://forge.codesys.com/u/yue-qi-qi/</uri></author><id>https://forge.codesys.comd5e7e286b26fc682b0c22ab6c0a222cd47faac90</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The problem is that：&lt;br/&gt;
1、We know that Pointer is the type of DWORD，But how can we define a Pointer to a fucntion，a function block or a method?&lt;br/&gt;
2、Then how can we execute the pointer?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>