CTypefaceStore -1 when switch the view
do know why,strangely because it is ok when i exchange the other views
can someone please help me out?
team-vx
regards
Type: Posts; User: team-vx; Keyword(s):
CTypefaceStore -1 when switch the view
do know why,strangely because it is ok when i exchange the other views
can someone please help me out?
team-vx
regards
same question,but the link you list does not work anymore
can some one help me?
is there possible of any code here to refer to as an example?
team-vx
i am using the view architecture,each view owns its own container,now i want to add some music onto my codes.For example,i want it to config music on/off in one of my views and then the configuation...
oh,sorry.
i got it
team-vx
sorry but what do you mean?
team-vx
like this:
//show the splash screen for * seconds
iDisplayTimer=new(ELeave)CGame3Sec(TCallBack(TimerExpired,this));
iDisplayTimer->Wait(TInt(7E6));...
is there any possible way to detect a memory leak,it would be so hard if there are a lot of code!!
thanks
team-vx
for example i define a timer that would switch to another view when the time expired,it works fine on the emulator,i mean that it just display a series of pictures,but on the real device,it will...
i mean how to get it just all right on my phone,
i do not want to package one ,deliever to my phone,test and redeliever again and again for the right one
team-vx
thanks
how can i config the timer on the emulator while it was for the real device?
how to get it for my real device?
team-vx
thanks
could someone here please help me?
when i run some code in my emulator properly,of course with a timer event in it.When i put it on my real device ,it runs so fast!!!
for example with a cycle event,if it can run in the emulator one...
TUid a;
TPtrC8 temp;//fix
if(aCommand==EGameCmdLogin)
{
SwitchToViewL(TUid::Uid(EGameBreakViewId),TUid::Uid(1),temp);
}
the code panic 23 when i use this code,the SwitchToViewL() is...
for example:
TInt CSplashContainer::TimerExpired(TAny* /*aPtr*/)
{
//iView.SwitchToViewL(TUid::Uid(EGameMainViewId)) ;
CGameAppUi* appUi = (CGameAppUi*) CEikonEnv::Static()->AppUi();
...
got it
i cast the function and it can do now
TInt CBreakControl::TimerExpired(TAny* aPtr)
{
((CBreakControl*)aPtr)->Switch(); // cast, and call non-static function
return 1;
}
in the...
i make a timer event when to switch to a certain view after some certain time like follows:
TInt CBreakControl::InitTime
{
iDisplayTimer=new(ELeave)CGame3Sec(TCallBack(TimerExpired,this));...
opps!
it works.
using the "\f"
thanks you all
team-vx
how to take on another line in a richtexteditor?
i use the "\n",but it does not work ,just leave me with some spaces.
thanks
team-vx
i have just made it as a member of my class.
caused by some of my bad habits
thanks
team-vx
static TInt m is exactly the problem!!
but the sdk documention define the static data as "Static data is any data declared outside a function".
these two may be helpful for you else....
i got my code compile for armi urel,the error pop out like follows:
PETRAN - PE file preprocessor V01.00 (Build 187)
Copyright (c) 1996-2001 Symbian Ltd.
ERROR: Dll 'GAME[077A1726].APP' has...
ok,that is right.
the code trys to write to the ROM (z:).
i got it!
#if defined(__WINS__) // if the resources are in emulators c (not z)
aFullName.Replace(0,1,_L("c"));
#endif...
hey,maybe this is the problem,i use this code to get the full path of a file.
////////////////////////////////////////////////////////
TFileName appNamePath;
// Get the full name and path...
what can cause a system error -21?
i have got a piece of code that whenever i run into it,there is a error said "system error -21".seems like a access denied.
i have seen into the code for days...