Let us practise reading:The red thing is a link on that page.Originally Posted by Wiki page
Let us practise reading:The red thing is a link on that page.Originally Posted by Wiki page
Lets get the panic code before doing anything more.
My guess is ShortcutMaker need to be an active object that is kicked off when the active scheduler is started and stopped when the shortcut is completed.
Download Symbian OS now! [url]http://developer.symbian.org[/url]
Ok, after practising some reading, I installed Y-Tasks and got this:
Code:Main KERN-EXEC: 3
Hi Paul.Todd, I think that your prognosis is wrong, due to the fact that the application crashes during this:
And regarding this,Code:iShortcut = CScShortcutEngineWrapper::NewL(iSession,*this);, i've tried to delay using Getch() (before the instantiation of ShortcutMaker) , it still crashes.You need to delay and retry until your application is found
My advice still stands:
-Put your class into an active object.
-Use 2 phase construction so that you know the object's VMT is correctly setup before it is potentially used
-Schedule the active object
-Start the active scheduler
-Let the active object actually do the change once the list has completed initializing.
-Its possible though unlikely as its such a small program (according to the code shown), you might have run out of stack space
(see http://wiki.forum.nokia.com/index.ph...60_3rd_Edition)
You have so many things that are different both from the solution provided in the example, from our own implementation which I know works and from standard Symbian c++ that I have no idea or time to work out which is wrong without a lot of unpaid investigation.
Download Symbian OS now! [url]http://developer.symbian.org[/url]