Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User ArjenBroeze's Avatar
    Join Date
    Oct 2004
    Location
    Beijing, China
    Posts
    26
    I need to display a yes/no dialog inside a small executable. I've tried all kinds of different approaches, but sofar I've unsuccessful.

    Anyone knows how to accomplish this?

  2. #2
    I'm not sure if this is the right way to do it but I simply start app, and read the parameters and show dialog in
    ProcessCommandParametersL

  3. #3
    Registered User ArjenBroeze's Avatar
    Join Date
    Oct 2004
    Location
    Beijing, China
    Posts
    26
    That works for an app, but not for an exe. Any attempt to launch a dialog (whether it's one of the built-in dialogs or a dialog defined in a resource) from an .EXE results in a KERN-EXEC 3.

    I know executables don't have the application framework, but maybe it's possible to create a CEikonEnv in an executable. Any pointers?

  4. #4
    Nokia Developer Expert veskola's Avatar
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425
    Hi,

    If no other approach could not be found here is one workaround. Create a simple application and sent command parameters there from the exe. Inside application interpret parameters and display correspond dialog, and after this exit.

    If fastness is the issue, the application is able to hide background.

    In my oppinion exe's should not have any user interface, instead there should be this kind of clinets to display UI.

    Br V

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