Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2011

    RConnection::Stop fails with -46, even with NetworkControl

    I want to close all connections associated with a particular IAP, I am able to enumerate the connection, when I try to call the Stop method I get -46.

    I have given NetworkControl caps to my dll and exe..

    Any help is highly appreciated.


  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: RConnection::Stop fails with -46, even with NetworkControl

    Basically you could always try using all capabilities you have, and see whether it works then. And by removing them one-by-one, you could find out the minimally needed capabilities. Also you could check (for example with Y-Tasks) that your process actually has the capabilities you think it has, basically, after you added the capability, it could be indeed that something went wrong, and the exe did not get the capability added.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: RConnection::Stop fails with -46, even with NetworkControl

    You may also want to double-check if the capabilities are really there. The toolchain sometimes misses new capabilities when you are trying to add them.
    Executing petran -dump s <your.exe> (and your.dll respectively) from a command line in the release folder will tell the capability set of the given binary.

Similar Threads

  1. RConnection::Start() and RConnection::Stop() causes ViewSrv 11
    By er.khalid in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2011-04-12, 09:52
  2. player.stop fails
    By mohamed shaheen in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2009-08-23, 06:30
  3. Question about RConnection::Stop()
    By jasperlee in forum Symbian
    Replies: 5
    Last Post: 2009-03-08, 08:46
  4. Fails to stop/end/kill thread
    By bqh in forum Symbian
    Replies: 1
    Last Post: 2008-08-09, 20:44
  5. AudioClip.stop() fails
    By gabrysh in forum Personal Profile
    Replies: 0
    Last Post: 2005-08-12, 10:57

Posting Permissions

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