<?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 - Creating and Linking the dll in UIQ3 - Comments</title>
 <link>http://www.newlc.com/forum/creating-and-linking-dll-uiq3</link>
 <description>Comments for &quot;Creating and Linking the dll in UIQ3&quot;</description>
 <language>en</language>
<item>
 <title>Re: Creating and Linking the dll in UIQ3</title>
 <link>http://www.newlc.com/forum/creating-and-linking-dll-uiq3#comment-44864</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Thanks for the reply. &lt;/p&gt;

&lt;p&gt;I tried creating a new lib project in carbide 1.2 the default basic simple one after that i compiled it.&lt;br /&gt;
*header file&lt;br /&gt;
&lt;pre class=&quot;bb-code-block&quot;&gt;
#ifndef __SampleDLL_H__
#define __SampleDLL_H__
#include &amp;lt;e32base.h&amp;gt;
TInt DummyFunction();
#endif  // __A_H__
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;*cpp file&lt;br /&gt;
&lt;pre class=&quot;bb-code-block&quot;&gt;
#include &quot;SampleDLL.h&quot;
TInt DummyFunction()
	{
	return 0;
	}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;LIB&lt;br /&gt;
That&#039;s all the content in the code. After compilation I saw a SampleDLL.h in my ./epoch/include directory and if I add a library in mmp there is SampleDLL.lib on my new GUI UIQ3 Application, so I assumed I compiled it correctly. Do I need to paste the lib or header in any special directory?&lt;br /&gt;
Why does the header file doesn&#039;t have a class name? Is it a compiler issue? Because when I tried adding a class name in SampleDLL.h if will have a compile time error and when I tried not to I can include the .h and it&#039;s .lib but I cannot call the function.&lt;/p&gt;

&lt;p&gt;DLL&lt;br /&gt;
The code is the same as the default provided by Carbide 1.2.&lt;br /&gt;
 However when I compiled my GUI UIQ3 Application I got an error missing library SampleDLL. BTW when I have a .lib file I can include it in .mmp file but if DLL where should I link it.&lt;/p&gt;

&lt;p&gt;I just want to create a dll and include it in my UIQ3 GUI  Application using Carbide 1.2 IDE.&lt;/p&gt;

&lt;p&gt;Thanks and good day.&lt;/p&gt;</description>
 <pubDate>Mon, 03 Mar 2008 04:26:49 +0100</pubDate>
 <dc:creator>czetsuya</dc:creator>
 <guid isPermaLink="false">comment 44864 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Creating and Linking the dll in UIQ3</title>
 <link>http://www.newlc.com/forum/creating-and-linking-dll-uiq3#comment-44840</link>
 <description>&lt;p&gt;&quot;_NetworkInfo.h&quot; is your own header file, no?&lt;br /&gt;
You at least give the source code to it too, so I assumed so...&lt;br /&gt;
Then it should not be in epoc32/include/ but somewhere in your own project...&lt;/p&gt;

&lt;p&gt;Unfortunately I know nothing about Java CDC and inter-op with native C++, so can&#039;t help you there...&lt;/p&gt;</description>
 <pubDate>Fri, 29 Feb 2008 09:16:37 +0100</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 44840 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Creating and Linking the dll in UIQ3</title>
 <link>http://www.newlc.com/forum/creating-and-linking-dll-uiq3#comment-44833</link>
 <description>&lt;p&gt;Thanks for the reply, yes maybe it was a missing header file though I&#039;ve checked and saw that it resides in ./epoch/includes dir.&lt;br /&gt;
Anyway what I want to create is a dll or a lib that gets Network Information such as cell id, etc. using the CTelephony class from etel3rdparty.h/.lib. because I am to call this dll in java CDC. Given that what can you recommend to use dll/lib. &lt;/p&gt;

&lt;p&gt;Yeah I&#039;m a newbie in symbian...&lt;/p&gt;

&lt;p&gt;Thanks and good day.&lt;/p&gt;</description>
 <pubDate>Fri, 29 Feb 2008 02:38:32 +0100</pubDate>
 <dc:creator>czetsuya</dc:creator>
 <guid isPermaLink="false">comment 44833 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Creating and Linking the dll in UIQ3</title>
 <link>http://www.newlc.com/forum/creating-and-linking-dll-uiq3#comment-44821</link>
 <description>&lt;p&gt;Thats not a link error, that is a compile error.&lt;br /&gt;
It can&#039;t find the header file &quot;_NetworkInfo.h&quot;&lt;/p&gt;

&lt;p&gt;Make sure it exists in a folder that is included with &quot;USERINCLUDE&quot; in your mmp file.&lt;br /&gt;
And the error seems to be from when you try to build the DLL, not from when you are trying to link it into your UIQ app...&lt;/p&gt;

&lt;p&gt;lib or dll depends on how you are going to use it, and is 100% up to what you think is the most convenient for whatever you want to do...&lt;/p&gt;

&lt;p&gt;What kind of resources are you looking for?&lt;br /&gt;
There is &quot;Tutorials&quot; on this site, look up there to the top left...  checked those?&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Thu, 28 Feb 2008 13:25:10 +0100</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 44821 at http://www.newlc.com</guid>
</item>
<item>
 <title>Creating and Linking the dll in UIQ3</title>
 <link>http://www.newlc.com/forum/creating-and-linking-dll-uiq3</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;My purpose is to create a dll that I will call in java but that&#039;s the second part. Write now I am unable to produce a working dll. That dll will get network information using the etel3dparty.lib.&lt;br /&gt;
1.) I am using Carbide 1.2&lt;br /&gt;
2.) I tried creating a new project:&lt;br /&gt;
  a.) lib&lt;br /&gt;
  b.) dll and also tried&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/creating-and-linking-dll-uiq3&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/creating-and-linking-dll-uiq3#comments</comments>
 <category domain="http://www.newlc.com/forums/uiq-phones">UIQ Phones</category>
 <pubDate>Thu, 28 Feb 2008 12:21:22 +0100</pubDate>
 <dc:creator>czetsuya</dc:creator>
 <guid isPermaLink="false">20366 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
