How can I schedule tasks based on DLL or EXE using Symbian C++?
Jump to: navigation, search   Article Metadata  Platform(s): S60
1st Edition S60 2nd Edition S60 2nd Edition (initial release)
S60 1st Edition  Created: User:Technical writer 2 (12 Feb 2004)
Last edited: lpvalente (17 Nov 2012)   How can I schedule tasks
based on DLL or EXE?   Scheduling DLL or EXE-based tasks using
the RScheduler class requires a certain technique to implement
the EXE and DLL.   To schedule a DLL-based task in the emulator,
implement the DLL as follows:  LOCAL_D TInt StartDLL(TAny*
aParam) CMyDll* self = new(ELeave) CMyDll; TInt CMyDll::Test()
return KErrNone; EXPORT_C TThreadFunction ThreadFunction() //
Ordinal one export that returns the function // which extracts
the pseudo-command line // under WINS, this is passed as thread
data). return StartDLL; GLDEF_C TInt E32Dll(TDllReason
/*aReason*/)  Further information: The aParam passed in StartDLL
can be used as follows to create CScheduledTask objects:
TFileName* fileName = re