Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User darioses's Avatar
    Join Date
    Apr 2004
    Posts
    19
    Hi all,
    anyone knows how to run (and debug) an exe (without GUI) application on the emulator for Symbian S60 3rd ed.?

    On S60 2nd ed. it was easy: you just built it for the emulator, then launched the emulator with the Run button and the exe got launched from the framework. Now in S60 3rd ed. this procedure doesn't work anymore.

    I also tried to install an RSC file for automatic startup in \private\101f875\import\ and set the output file for my exe in the \sys\bin\ directory, but this doesn't work either.

  2. #2
    Super Contributor stichbury's Avatar
    Join Date
    Nov 2005
    Location
    London
    Posts
    584
    If it's just a console application, you need to put the emulator into text shell mode. Go to the epoc.ini file in <SDK INSTALL DIR>\epoc32\data and add the line "textshell" - all one word - to it.

    When you run your exe (say, by clicking on it in explorer) the emulator will now run a console rather than full application UI shell. You can check this by clicking on epoc.exe - which should boot into eshell.

    If your application still doesn't work, you can debug it in the IDE or check epocwnd.out (in your win32 temporary directory) for clues.

  3. #3
    Registered User darioses's Avatar
    Join Date
    Apr 2004
    Posts
    19
    Thank you for your answer...
    actually my application wasn't a console application, but a plain exe application, derived from an old S60 2nd ed. "targettype exe" application.

    I solved the problem, anyway. It was extremely easy but I couldn't find any documentation about it: when it comes to exe applications you have to go in your visual studio .NET's Project|Properties|Debugging|Command field and change it from epoc.exe to yourappname.exe

    That's all, folks!

  4. #4
    Super Contributor paipeng's Avatar
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721
    Quote Originally Posted by stichbury
    If it's just a console application, you need to put the emulator into text shell mode. Go to the epoc.ini file in <SDK INSTALL DIR>\epoc32\data and add the line "textshell" - all one word - to it.

    When you run your exe (say, by clicking on it in explorer) the emulator will now run a console rather than full application UI shell. You can check this by clicking on epoc.exe - which should boot into eshell.

    If your application still doesn't work, you can debug it in the IDE or check epocwnd.out (in your win32 temporary directory) for clues.
    Thanks stichbury for your words.

    I wonder how you find it out. Is there any doc about it?!

Similar Threads

  1. Does an EXE called from APP run in a seperate thread?
    By ViruDoshi in forum Symbian C++
    Replies: 10
    Last Post: 2006-02-28, 13:05
  2. Error running app on 3rd cell phone
    By Poyo_shiu in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2006-02-21, 09:05
  3. Testing an EXE that looks for a file
    By ViruDoshi in forum Symbian C++
    Replies: 2
    Last Post: 2006-01-30, 10:52
  4. KERN EXE 3 panic in exe
    By santosh shetty in forum Symbian C++
    Replies: 3
    Last Post: 2006-01-11, 08:36
  5. how to execute exe File?
    By rtsvet in forum Symbian C++
    Replies: 8
    Last Post: 2003-04-28, 15:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved