You Are Here:

Community: Wiki

This page was last modified on 25 August 2009, at 05:06.

Application without loading resource File

From Forum Nokia Wiki

In order to stop all attempts to load a resource file you have to do 2 things:

1. You need to replace the function CEikApplication::ResourceFileName()with one that returns a empty files name. Like this function does:

TFileName CMyApplication::ResourceFileName() const
{
return TFileName();
}

where CMyApplication is a subclass of CEikApplication.


2. You need to pass the ENoAppResourceFile flag when calling then function CEikAppUi::BaseConstructL. This is usually called in the ConstructL function of the subclass to CEikAppUi. As in the following example:

void CMyEmptyUi::ConstructL()
{
BaseConstructL(ENoAppResourceFile);
//Now construct the other parts of my application
...
}

where CMyEmptyUi is a sub class of CEikAppUi

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
User Rating: qfnZuserE5FratingQNx3E2E0000X