Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    3

    Error on running multiple screen

    Hi all,
    After I run my HelloWorld Application on Code Warrior, This project is about a configuratiion multiple screen in Symbian V8.1B the emulator can be configured to support multiple configurations, where each configuration refers to a separate fascia and screen orientation

    Now I have a sample doing about multiple screen on symbian OS.
    Below is my configuration for epoc.ini file...
    When I run the sample Hello World, the two screen are show up but to switch between the is not. I mean I can only work in screen 0, and can not work on screen 1...
    Could you suggest any thing
    many thanks
    thephong

    p/s
    my epoc.ini file


    Code:
    MegabytesOfFreeMemory 16
    ScreenWidth 640
    screenHeight 240
    ScreenOffsetX 90
    ScreenOffsetY 50
    LedSize 0
    FasciaBitmap epoc.bmp
    
    
    OnActivation 0 EKeyScreenDimension0
    
    digitizeroffsetx 0
    digitizeroffsety 0
    digitizerheight 100
    digitizerwidth 200
    
    debugmask BOOT
    disabledigitizer false
    ledarrangevertically
    ledgap 30
    ledsize 25
    physicalscreenheight 4000
    physicalscreenwidth 6000
    pointertype pen
    virtualkey EStdKeyuparrow rect 119,317 42,25
    virtualkey EStdKeydownarrow rect 122,405 42,25
    virtualkey EStdKeyrightarrow rect 198,362 42,25
    virtualkey Estdkeyleftarrow rect 48,362 42,25
    virtualkey Estdkeyenter rect 121,362 42,25
    VirtualKey EStdKeyMenu rect 50,60 30,20 
    DefineKeyName EPhoneKeyConfirm EStdKeyDevice8
    NoVersionInfo
    EmulatorControl NextConfig rect 14,500 29,22
    EmulatorControl SelectConfig 1 rect 189,500 32,23
    windowtitle ONE
    KeyMap F1 EStdKeyMenu
    keymap leftalt 1 estdkeydevice0 
    
    _NewScreen_
    ScreenWidth 640
    screenHeight 240
    ScreenOffsetX 90
    ScreenOffsetY 50
    LedSize 0
    FasciaBitmap epoc.bmp
    OnActivation 90 EKeyScreenDimension1
    digitizeroffsetx 0
    digitizeroffsety 0
    digitizerheight 100 
    digitizerwidth 200
    debugmask BOOT
    disabledigitizer false
    ledarrangevertically
    ledgap 30
    ledsize 25
    physicalscreenheight 4000 
    physicalscreenwidth 6000
    
    virtualkey EStdKeyuparrow rect 119,317 42,25
    virtualkey EStdKeydownarrow rect 122,405 42,25
    virtualkey EStdKeyrightarrow rect 198,362 42,25
    virtualkey Estdkeyleftarrow rect 48,362 42,25
    virtualkey Estdkeyenter rect 121,362 42,25 
    
    NoVersionInfo
    EmulatorControl NextConfig rect 14,500 29,22
    EmulatorControl SelectConfig 0 rect 189,500 32,23
    windowtitle TWO
    KeyMap F1 EStdKeyMenu 
    keymap leftalt 1 estdkeydevice0

    And the Log Message from Window, after running the HelloWorld,
    any suggest??????



    [screens] = 2
    _epoc_drive_c = z:\epoc32\winscw\c\
    _epoc_drive_z = z:\epoc32\release\winscw\udeb\z\
    ConfigCount = 1
    Configuration[0][0]FasciaBitmap = epoc.bmp
    Configuration[0][0]physicalscreenheight = 4000
    Configuration[0][0]physicalscreenwidth = 6000
    Configuration[0][0]screenHeight = 240
    Configuration[0][0]ScreenOffsetX = 90
    Configuration[0][0]ScreenOffsetY = 50
    Configuration[0][0]ScreenWidth = 640
    Configuration[0][1]FasciaBitmap = epoc.bmp
    Configuration[0][1]physicalscreenheight = 4000
    Configuration[0][1]physicalscreenwidth = 6000
    Configuration[0][1]screenHeight = 240
    Configuration[0][1]ScreenOffsetX = 90
    Configuration[0][1]ScreenOffsetY = 50
    Configuration[0][1]ScreenWidth = 640
    Configuration[0]DefineKeyName = EPhoneKeyConfirm EStdKeyDevice8
    Configuration[0]digitizerheight = 100;100
    Configuration[0]digitizeroffsetx = 0;0
    Configuration[0]digitizeroffsety = 0;0
    Configuration[0]digitizerwidth = 200;200
    Configuration[0]disabledigitizer = false;false
    Configuration[0]EmulatorControl = NextConfig rect 14,500 29,22;SelectConfig 1 rect 189,500 32,23;NextConfig rect 14,500 29,22;SelectConfig 0 rect 189,500 32,23
    Configuration[0]KeyMap = F1 EStdKeyMenu;leftalt 1 estdkeydevice0;F1 EStdKeyMenu;leftalt 1 estdkeydevice0
    Configuration[0]ledarrangevertically
    Configuration[0]ledgap = 30;30
    Configuration[0]LedSize = 0;25;0;25
    Configuration[0]NoVersionInfo
    Configuration[0]OnActivation = 0 EKeyScreenDimension0
    Configuration[0]pointertype = Mouse
    Configuration[0]virtualkey = EStdKeyuparrow rect 119,317 42,25;EStdKeydownarrow rect 122,405 42,25;EStdKeyrightarrow rect 198,362 42,25;Estdkeyleftarrow rect 48,362 42,25;Estdkeyenter rect 121,362 42,25;EStdKeyMenu rect 50,60 30,20;EStdKeyuparrow rect 119,317 42,25;EStdKeydownarrow re...
    Configuration[0]windowtitle = ONE;TWO
    debugmask = BOOT;BOOT
    EmulatorDataPath = z:\epoc32\data\
    EmulatorImagePath = C:\DOCUME~1\801934\LOCALS~1\Temp\epoc\z\epoc32\release\winscw\udeb\
    EmulatorMediaPath = z:\epoc32\data\media\
    EmulatorPath = z:\epoc32\release\winscw\udeb\
    Extension = winsgui;elocd.ldd;medint.pdd;medlfs.pdd;medmmc.pdd;epbusmmc.dll;epbusv.dll;mednand.pdd;exstart
    MachineName = epoc
    MegabytesOfFreeMemory = 16
    Command Line Args:
    "Z:\EPOC32\RELEASE\WINSCW\UDEB\epoc.exe"
    Opening configuration file
    \
    Loading library:
    SMCM_GSM.DLL

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2004
    Posts
    98
    This thread has been moved to the C++ tools and SDK section as it isn't a CodeWarrior question

Posting Permissions

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