<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - regarding dlls - Comments</title>
 <link>http://www.newlc.com/topic-284</link>
 <description>Comments for &quot;regarding dlls&quot;</description>
 <language>en</language>
<item>
 <title>regarding dlls</title>
 <link>http://www.newlc.com/topic-284#comment-3783</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;IMPORT_C should be used in the header in front of each function you want to be available to clients of the DLL.&lt;br /&gt;&lt;br /&gt;EXPORT_C should be used in the implementation of each of the functions identified above.&lt;br /&gt;&lt;br /&gt;This gives:&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;class CMyDLLClass &amp;#58; public CBase&lt;br /&gt;&amp;#123;&lt;br /&gt;public&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp;IMPORT_C void myVisibleFunction&amp;#40;&amp;#41;; // Visible to clients of the DLL&lt;br /&gt; &amp;nbsp; &amp;nbsp;...&lt;br /&gt;private&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp;void myPrivateFunction&amp;#40;&amp;#41;; // Not visible to clients of the DLL&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;EXPORT_C void myVisibleFunction&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt; &amp;nbsp; &amp;nbsp;// Do Something&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;void myPrivateFunction&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt; &amp;nbsp; // Do Something&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You can also take a look at &lt;a href=&quot;http&amp;#58;//www.newlc.com/article.php3?id_article=162&quot; target=&quot;_blank&quot;&gt;this&lt;/a&gt; .&lt;br /&gt;Cheers,&lt;br /&gt;Eric&lt;/div&gt;</description>
 <pubDate>Thu, 04 Sep 2003 10:51:17 +0200</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">comment 3783 at http://www.newlc.com</guid>
</item>
<item>
 <title>regarding dlls</title>
 <link>http://www.newlc.com/topic-284#comment-3782</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;i eaxctly mean the concept of export_c and import_c&lt;/div&gt;</description>
 <pubDate>Mon, 18 Aug 2003 12:54:52 +0200</pubDate>
 <dc:creator>basaravikiran</dc:creator>
 <guid isPermaLink="false">comment 3782 at http://www.newlc.com</guid>
</item>
<item>
 <title>regarding dlls</title>
 <link>http://www.newlc.com/topic-284</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-284&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-284#comments</comments>
 <category domain="http://www.newlc.com/forums/symbian-c">Symbian C++</category>
 <pubDate>Mon, 18 Aug 2003 12:49:50 +0200</pubDate>
 <dc:creator>basaravikiran</dc:creator>
 <guid isPermaLink="false">1375 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
