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 16:04, 23 June 2008.

How to add Active Object to the Active Scheduler

From Forum Nokia Wiki

Gui Application provides active schedulers, so you just need to call the add method of the active scheduler.

// Adding the Active Object ( Class derived from CActive ) to scheduler
CActiveScheduler::Add(this);


In Non-Gui applications ( exe's in 2nd edition ), you need to create and install the active scheduler by your own.

// Creating  Active Scheduler
CActiveScheduler* Scheduler = new ( ELeave ) CActiveScheduler;
CleanupStack::PushL( Scheduler );
//Installing Active Scheduler
CActiveScheduler::Install( Scheduler );
Related Discussions
Thread Thread Starter Forum Replies Last Post
Incoming call exe os9.1 kkrish General Symbian C++ 6 2006-07-17 14:11
A question on ActiveObjects pgivy General Symbian C++ 1 2007-04-25 14:27
Is it ActiveScheduler Problem??? kiran10182 General Symbian C++ 13 2006-06-06 14:46
Active objects or multithreads? miriwiri General Symbian C++ 10 2008-02-12 22:07
How to use CActive class? manolis2 General Symbian C++ 1 2003-11-17 19:52
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX