Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Information Notes in exe
Sometime in exe we need to display messages. if we have CONE environment in exe then it is easy to use any information notes/dialogs. But if we do not have CONE environment than we have to use CAknGlobalNote to show information messages.
LIBRARY aknnotify.lib eiksrv.lib
Header file needed:
Add following code to your exe and just call ShowNotesInExeL() function:
LOCAL_C void ShowNotesInExeL(const TDesC& aMessage)
CAknGlobalNote* pNote = CAknGlobalNote::NewL();
TInt noteId = pNote->ShowNoteL(EAknGlobalTextNote,aMessage);
Call method ShowNotesInExeL() from exe.
//call function ShowNotesInExeL()
ShowNotesInExeL(_L("Testing Notes in exe"));