×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    2

    Angry [moved] PlatSec warning

    *PlatSec* WARNING - Capability check would have failed - A Message (function number=0x00000000) from Thread connection[e6bcd101]0001::connection, sent to Server !Windowserver, was checked by Thread wserv.exe[10003b20]0001::Wserv and was found to be missing the capabilities: SwEvent . Additional diagnostic message: Capability check failed for RWsSession::SendEventToWindowGroup API


    I am getting this error can someone please help mi know hoe this problem can be solved ????

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Carbide.c++ very very very very confusinggg

    It means what it writes. 'connection' is probably your application (at least it has a developer UID, e6bcd101), and it is using RWsSession::SendEventToWindowGroup. This API needs SwEvent capability, which has to be declared in the .mmp file. Carbide.c++ has an interactive .mmp editor, you will see a page where you can directly click on capabilities you want to use.

  3. #3
    Registered User
    Join Date
    Apr 2012
    Posts
    9

    Re: Carbide.c++ very very very very confusinggg

    Thank You. That capability I have added to connection.mmp file.
    But now when I tried to execute the code :

    TWsEvent event;
    RWsSession wsSession=CCoeEnv::Static()->WsSession();
    TInt id = wsSession.GetFocusWindowGroup();
    event.SetType(EEventKey);
    event.SetTimeNow();
    event.Key()->iCode = EKeyUpArrow;
    event.Key()->iModifiers = 0;
    event.Key()->iRepeats = 0;
    event.Key()->iScanCode = EStdKeyUpArrow;
    wsSession.SendEventToWindowGroup( id, event );
    wsSession.Flush();


    It does not work.
    I can not observe any changes while debugging also.
    can you help please ?

  4. #4
    Registered User
    Join Date
    Apr 2012
    Posts
    2

    Re: Carbide.c++ very very very very confusinggg

    Thank You. That capability I have added to connection.mmp file.
    But now when I tried to execute the code :

    TWsEvent event;
    RWsSession wsSession=CCoeEnv::Static()->WsSession();
    TInt id = wsSession.GetFocusWindowGroup();
    event.SetType(EEventKey);
    event.SetTimeNow();
    event.Key()->iCode = EKeyUpArrow;
    event.Key()->iModifiers = 0;
    event.Key()->iRepeats = 0;
    event.Key()->iScanCode = EStdKeyUpArrow;
    wsSession.SendEventToWindowGroup( id, event );
    wsSession.Flush();


    It does not work.
    I can not observe any changes while debugging also.
    can you help please ?

  5. #5
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Carbide.c++ very very very very confusinggg

    Check what you are getting in return from wsSession.SendEventToWindowGroup( id, event )? Clean build is helpful after modifying the mmp file.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

Similar Threads

  1. [Moved] To Bypass Security Warning or Pop up Messeges when we run an application
    By HiFromLeo in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-10-31, 23:38
  2. PlatSec - Process Isolation check under 9.1
    By SimonJudge in forum Symbian
    Replies: 18
    Last Post: 2008-06-06, 09:43
  3. Looking for comment on 'PlatSec' diagnostic
    By karlbaldwin in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2007-07-04, 22:30
  4. PlatSec WARNING on emulator
    By dextra in forum Symbian
    Replies: 2
    Last Post: 2006-10-05, 01:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×