Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 08:06, 9 April 2008.

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 Discussions
Thread Thread Starter Forum Replies Last Post
Startup list management S60 v3 arizkohli General Symbian C++ 25 2006-09-18 16:12
[NDS] Can't install under Gentoo claquos Mobile Java Tools & SDKs 8 2003-11-12 22:32
Changed application name and now problems installing codepatch General Symbian C++ 9 2007-07-30 08:59
No rule to make target ab General Symbian C++ 6 2007-11-28 11:58
CPbkFieldInfo.rh missing, s60 v1.0 cvz General Symbian C++ 4 2008-08-15 18:23
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX