×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    32

    Cannot create process on Emulator with Carbide and 3rd Edition Sdk

    Hi,

    I've an application containing both a UI and a standalone process. On Emulator, the UI part is responsible for creating the process. But, anytime I try, I systematically get the error "Feature not supported (-5)".

    The same functionality works fine on device. I've read many post on this forum but I didn't find any solution to this problem. It may be due to the specificities of my application:
    - the process requires capabilities declared in MMP file;
    - the UI and the process have different UIDs;
    - the UI and the process are located in Epoc32\release\winscw\udeb\

    The process is created thourgh the following code:

    const TUidType serverUid( KNullUid, KNullUid, KNullUid );
    RProcess Server;
    Result = Server.Create( _L("MyProcess.exe"), _L("coucou"), serverUid );

    Help would be very much appreciated.
    Thanks in advance,

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

    Re: Cannot create process on Emulator with Carbide and 3rd Edition Sdk

    "Feature not supported (-5)" usually happens when you are using unavailable API-s. The emulator has less capabilities than the target device.

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    32

    Re: Cannot create process on Emulator with Carbide and 3rd Edition Sdk

    Thanks for your answer.

    In fact, I've tried to set breakpoints in the E32Main() function of my process but it is never called.
    Furthermore, when I'm debugging the UI part, this is really the Create() method of the RProcess that returns the error code -5.

  4. #4
    Registered User
    Join Date
    Jul 2003
    Posts
    32

    Re: Cannot create process on Emulator with Carbide and 3rd Edition Sdk

    I'm still stuck on the same problem.

    I've tried to use the old 2nd edition way of creating process on Emulator, i.e. by loading the other process within a thread. Unfortunately, I still get the same (-5) error code.

    > RThread Server;
    > Result = Server.Create( ThreadName,
    > ServerThreadFunction,
    > KDefaultStackSize,
    > NULL,
    > &Lib,
    > NULL,
    > KServerMinHeapSize,
    > KServerMaxHeapSize,
    > EOwnerProcess );

    Could somebody help me on this?

Similar Threads

  1. Problem in installing S60 3rd Edition FP1 SDK
    By raghughatage in forum Symbian Tools & SDKs
    Replies: 16
    Last Post: 2008-05-03, 11:55
  2. Carbide c++ and S60 3rd Edition Feature Pack 1 Working
    By jimgilmour1 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-10-18, 20:39
  3. Carbide C++ AppWizards for 3rd Edition
    By ArneH in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-05-20, 21:22
  4. Debug problem carbide + eclipse 3.1+ S40 SDK 3rd Edition
    By redzvika in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-04-16, 12:06

Posting Permissions

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