Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User anshulkothari's Avatar
    Join Date
    Jul 2004
    Posts
    4
    I am new to symbian development and I am trying to develop a console application, which uses an active object.

    It seems text application, don't have a active scheduler and so I need to Install my own. Now once installed, I cannot process any event unless I call ActiveSceduler::Start(). However, doing so leads me to situation, where my thread is restricted to RunL() unless I call ActiveScheduler::Stop(), which returns back the control to my main thread. However, since my scheduler is stopped, if I want to process the next event, I have to start the scheduler again. Thus, to process any event, I have to first start the scheduler and then stop it. I find it really weird and there might be a better way of doing. I was wondering if some one can help me with it.

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    did you remember to start a active object request before starting the active scheduler. Basically you should never call start for the active sheduler unless you have at least one active object set active before.

    yucca

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved