EXE UID
| Thu, 2008-08-21 09:24 | |
|
EXE's UID Why the last UID is 0x00000000. This is my EXE's uid. I need to pass the exe uid to autostart.mdl (const TUid starter_uid= { 0x00000000 };) code so that the EXE runs on startup. /* Autostart.mdl */ void CclAutostart::StartAppThreadFunctionL() CleanupClosePushL(server); CleanupStack::PopAndDestroy(); Can i pass the EXE UID like this to the MDL code |
|






Forum posts: 47
Hi Amit,
Why do you want to pass UID?
Thanks & Regards,
Symbi
Forum posts: 59
Hi,
The MDL code needs the UID to be passed so that it can be registered for start on boot.
Can we do it without passing the UID .... ??
Regards,
Amit
Forum posts: 47
Are you developing auto start application?... if so then which version are u using?
Thanks & Regards,
Symbi
Forum posts: 59
ya, i want the EXE to start-on-boot.
I'm working on S602nd edition OS 8.1(a)FP3.
Forum posts: 47
Have you try this on device... because in your code there are to section..
#ifdef __WINS__
// this for emulator
else
// this is for device
#endif
I don't have idea about WINS that is emulator... but UID not required for target devices.
Therefore please check on device..
Thanks & Regards,
Symbi
Forum posts: 59
ya i am testing it on device itself (N70). You can not test it on emulator anyways.
Forum posts: 47
Ok.. that is your problem.. You are not using UID of the application only specifying application path right in else block.
If you’re trying to make background services then create server exe and run server in background
Thanks & Regards,
Symbi
Forum posts: 59
Ok.. that is your problem.. You are not using UID of the application only specifying application path right in else block.
If you’re trying to make background services then create server exe and run server in background
Can you explain on creating server exe a bit more.