<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to External library from C code on C166,Error Message Help!</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/642b769f08/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/642b769f08/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/642b769f08/</id><updated>2020-02-27T20:30:21.775000Z</updated><subtitle>Recent posts to External library from C code on C166,Error Message Help!</subtitle><entry><title>External library from C code on C166,Error Message Help!</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/642b769f08/?limit=25#2ae2" rel="alternate"/><published>2020-02-27T20:30:21.775000Z</published><updated>2020-02-27T20:30:21.775000Z</updated><author><name>sgysunny</name><uri>https://forge.codesys.com/u/sgysunny/</uri></author><id>https://forge.codesys.comab2f865a67413b2244884d798ca3fb584855ae60</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I created an external library from a C source for C166,  and i met some problem,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I had generated the library.lib, the library.hex, and the library.obj.&lt;/li&gt;
&lt;li&gt;Copy the object file and the library into the CoDeSys library directory.&lt;/li&gt;
&lt;li&gt;Link the library into my CoDeSys application program.&lt;/li&gt;
&lt;li&gt;Build the application project, there is no error.&lt;br/&gt;
5.1. On Online mode, with command "Online -&amp;gt; Login ", &lt;br/&gt;
        Error Message Show :   Unresolved external POUs:&lt;br/&gt;
5.2 On Simulation mode, with command "Online -&amp;gt; Login",&lt;br/&gt;
        The function return mistake value.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So please help me , Sir.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>