<?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 - how to run a console application built for emulator? - Comments</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator</link>
 <description>Comments for &quot;how to run a console application built for emulator?&quot;</description>
 <language>en</language>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40665</link>
 <description>&lt;p&gt;Please put &quot;Textshell &quot; in your epoc.ini..so that u r able to see your console base app on emulator.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br /&gt;
Parag Purkar&lt;/p&gt;</description>
 <pubDate>Mon, 13 Aug 2007 10:52:40 +0200</pubDate>
 <dc:creator>parag purkar</dc:creator>
 <guid isPermaLink="false">comment 40665 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40572</link>
 <description>&lt;p&gt;I myself am using  \private\10003a3f\apps for any target in my project.&lt;/p&gt;

&lt;p&gt;I had pasted that code from the helloworldbasic example given along with the SDK in the 3rd edition MR and didnt think it necessary to change anything.&lt;/p&gt;</description>
 <pubDate>Wed, 08 Aug 2007 09:06:03 +0200</pubDate>
 <dc:creator>Symbian_Neil</dc:creator>
 <guid isPermaLink="false">comment 40572 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40570</link>
 <description>&lt;p&gt;Why is that _reg.rss file should go under \private\10003a3f\import\apps for target other than winscw? According to me the path will be same (\private\10003a3f\apps) for reg files for any target. Or is it that I am missing something?&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Sri&lt;/p&gt;</description>
 <pubDate>Wed, 08 Aug 2007 06:41:32 +0200</pubDate>
 <dc:creator>srikanth</dc:creator>
 <guid isPermaLink="false">comment 40570 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40568</link>
 <description>&lt;p&gt;Thanks very much for your help!&lt;/p&gt;

&lt;p&gt;I guess there are a lot of things I should take a look.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 08 Aug 2007 06:09:14 +0200</pubDate>
 <dc:creator>lliu</dc:creator>
 <guid isPermaLink="false">comment 40568 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40561</link>
 <description>&lt;p&gt;Also remember to make changes in the mmp to reflect the same like :&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;START RESOURCE&amp;nbsp;&amp;nbsp;&amp;nbsp; HelloWorldBasic_reg.rss&lt;br /&gt;#ifdef WINSCW&lt;br /&gt;TARGETPATH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \private\10003a3f\apps&lt;br /&gt;#else&lt;br /&gt;TARGETPATH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \private\10003a3f\import\apps&lt;br /&gt;#endif&lt;br /&gt;END //RESOURCE&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 07 Aug 2007 13:39:52 +0200</pubDate>
 <dc:creator>Symbian_Neil</dc:creator>
 <guid isPermaLink="false">comment 40561 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40560</link>
 <description>&lt;p&gt;you have to write it yourself then.&lt;/p&gt;

&lt;p&gt;For the simple helloworldbasic from the example in the sdk, it looks something like this :&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#include &amp;quot;Helloworldbasic.rls&amp;quot;&lt;br /&gt;#include &amp;lt;appinfo.rh&amp;gt;&lt;br /&gt;#include &amp;lt;Helloworldbasic.rsg&amp;gt;&lt;br /&gt;&lt;br /&gt;UID2 KUidAppRegistrationResourceFile&lt;br /&gt;UID3 0xA000017F&lt;br /&gt;&lt;br /&gt;RESOURCE APP_REGISTRATION_INFO&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; app_file=&amp;quot;HelloWorldBasic&amp;quot;;&lt;br /&gt;&amp;nbsp; localisable_resource_file =&amp;nbsp; STRING_helloworldbasic_loc_resource_file_1;&lt;br /&gt;&amp;nbsp; localisable_resource_id = R_HELLOWORLDBASIC_LOCALISABLE_APP_INFO;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; embeddability=KAppNotEmbeddable;&lt;br /&gt;&amp;nbsp; newfile=KAppDoesNotSupportNewFile;&lt;br /&gt;&amp;nbsp; }&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Write one which suits your needs making appropriate changes in the above.&lt;/p&gt;

&lt;p&gt;Also I would suggest you to go through a few &#039;getting started&#039; articles available on newlc, forum nokia  sites...helps a lot to understand why codes are the way they are.&lt;/p&gt;</description>
 <pubDate>Tue, 07 Aug 2007 13:37:43 +0200</pubDate>
 <dc:creator>Symbian_Neil</dc:creator>
 <guid isPermaLink="false">comment 40560 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40559</link>
 <description>&lt;p&gt;Failed to find that file....&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 07 Aug 2007 13:26:43 +0200</pubDate>
 <dc:creator>lliu</dc:creator>
 <guid isPermaLink="false">comment 40559 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40550</link>
 <description>&lt;p&gt;I was confused with your first  post which said&lt;br /&gt;
&lt;div class=&quot;bb-quote&quot;&gt;&lt;blockquote class=&quot;bb-quote-body&quot;&gt;The SDK is S60 FP3.&lt;/blockquote&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;For S60 3rd ed FP1 it might have the same helloworldbasic_reg.rss kind of file in the data folder. Check if that registration file for your application is there.&lt;/p&gt;</description>
 <pubDate>Tue, 07 Aug 2007 12:15:51 +0200</pubDate>
 <dc:creator>Symbian_Neil</dc:creator>
 <guid isPermaLink="false">comment 40550 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40547</link>
 <description>&lt;p&gt;S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1&lt;/p&gt;

&lt;p&gt;I guess this is the full name&lt;/p&gt;</description>
 <pubDate>Tue, 07 Aug 2007 11:39:16 +0200</pubDate>
 <dc:creator>lliu</dc:creator>
 <guid isPermaLink="false">comment 40547 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40530</link>
 <description>&lt;p&gt;Guess you are talking about S60 &lt;span style=&quot;font-weight:bold&quot;&gt;2nd&lt;/span&gt; FP3. I dont know about that edition really, but in third edition for example if you are talking about helloworld, there would be Helloworldbasic_reg.rss in the data folder. You have to check for any relevant things for your edition(???am not sure like i said of 2nd ed)&lt;/p&gt;

&lt;p&gt;Edit: But I thought 2nd edition had an app not an exe. So what edition are you talking really..3rd edition??...&lt;/p&gt;</description>
 <pubDate>Tue, 07 Aug 2007 09:12:21 +0200</pubDate>
 <dc:creator>Symbian_Neil</dc:creator>
 <guid isPermaLink="false">comment 40530 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40520</link>
 <description>&lt;p&gt;Thanks for the reply!&lt;/p&gt;

&lt;p&gt;The program I tried to run is from the SDK&#039;s example, do you mean the example have something wrong?&lt;/p&gt;

&lt;p&gt;Since I am pretty new to symbian OS, can you tell me which one is the registration file?&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 07 Aug 2007 05:02:41 +0200</pubDate>
 <dc:creator>lliu</dc:creator>
 <guid isPermaLink="false">comment 40520 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40475</link>
 <description>&lt;p&gt;&lt;div class=&quot;bb-quote&quot;&gt;&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Just run the .exe directly, instead of running epoc&lt;/blockquote&gt;&lt;/div&gt;&lt;br /&gt;
its more like a stop-gap solution than a correct one!!&lt;/p&gt;

&lt;p&gt;I would say for your problem of not finding your application in the installed folder : check your registration file.&lt;/p&gt;</description>
 <pubDate>Mon, 06 Aug 2007 10:20:03 +0200</pubDate>
 <dc:creator>Symbian_Neil</dc:creator>
 <guid isPermaLink="false">comment 40475 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comment-40458</link>
 <description>&lt;p&gt;I think I&#039;ve got the answer by myself.&lt;br /&gt;
Just run the .exe directly, instead of running epoc&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Sun, 05 Aug 2007 17:52:36 +0200</pubDate>
 <dc:creator>lliu</dc:creator>
 <guid isPermaLink="false">comment 40458 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to run a console application built for emulator?</title>
 <link>http://www.newlc.com/en/forum/how-run-console-application-built-emulator</link>
 <description>&lt;p&gt;hi, guys,&lt;/p&gt;

&lt;p&gt;   I am a new comer to Symbian OS programming. Got trouble trying to run the HelloWorld.exe example. &lt;br /&gt;
How to run it? I built it from command line: abld build winscw udeb, and can find the exe under release/winscw&lt;br /&gt;
directory, the problem is when I launch emulator, I can&#039;t find it from the Installed folder.... Can anybody tell&lt;br /&gt;
me how to get it running? The SDK is S60 FP3.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/how-run-console-application-built-emulator&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/how-run-console-application-built-emulator#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Sun, 05 Aug 2007 17:21:21 +0200</pubDate>
 <dc:creator>lliu</dc:creator>
 <guid isPermaLink="false">18557 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
