Results 1 to 4 of 4

Thread: Multiple instances of an app starting up

  1. #1
    Newbie
    Join Date
    Jan 2006
    Posts
    4

    Multiple instances of an app starting up

    Hi, I did read the FAQ on embedding apps into road runner, but it seems road runner is not reusing the existing window. I'm probably a little dense about it but perhaps it's something i'm doing wrong.

    I have a button in one skin mapped to another skin which the app should open in. The code for my button is:

    B01,0,345,135,82,"LOAD;deltaDash.skin;DeltaDashFor m;H:\projects\carComputer\dd\DDDemo.exe;DeltaDashF orm","DD"

    The name of the window I want to embed is DeltaDashForm(As per Winspector - This seems to work for skinbedder)

    What happens when I click this button is that it will bring up my skin, with the app, but if i were to exit the skin, DD would continue running. If I were to hit the button to start DD again, it would open another instance of delta dash. (and so on.) It would be best if it didn't close the app, and rather reuse the existing window if one existed. (as it takes a litte while for this to fully start up)

    In the skin of the app, I've got
    B01,0,550,75,50,"EXIT",""
    CloseWindow;DeltaDashForm||EXIT

    Which does not close the window unfortunately -

    thanks for reading, pls help ..

  2. #2
    Maximum Bitrate kpjuk's Avatar
    Join Date
    Dec 2003
    Location
    West Midlands
    Posts
    474
    Hello Ragnarok,

    For the window name, I think you need to use !DeltaDashForm. The missing exclamation mark may be all that is required to sort this out.

    cheers
    KPJUK
    M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
    DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Those symptons are clearly of using a wrong window title.. an ! in front of the title denotes that it is a CLASS name and not a window title -- you should double check the info in winspector spy and also make sure that the name is unique so RR doesn't confuse one window for another and finds the correct window.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  4. #4
    Newbie
    Join Date
    Jan 2006
    Posts
    4
    Thanks for the reply guys,

    I must have been very tired - my eyes were playing tricks on me. I went to look at it again, and I indeed did misspell the window name- my brain was reading DashDesignForm as DeltaDashForm - and couldn't figure out why it wouldn't work...

    sorry for the trouble- it works very nicely now.

Similar Threads

  1. REQUEST: Run Multiple RR instances
    By Jarrod in forum Road Runner
    Replies: 33
    Last Post: 12-21-2008, 07:54 AM
  2. Alpine City Cruise
    By Hell-Stopper in forum RR Skins
    Replies: 170
    Last Post: 02-22-2007, 10:05 PM
  3. Compro Actionmate TV + FM embedding app
    By CdRsKuLL in forum Road Runner
    Replies: 6
    Last Post: 08-14-2005, 10:31 PM
  4. Multiple Instances of FrodoPlayer
    By antimatter in forum FrodoPlayer
    Replies: 8
    Last Post: 08-19-2004, 10:45 PM
  5. ME 2.0 Official Bug Reports
    By phat_bastard in forum ME Archive
    Replies: 67
    Last Post: 01-31-2004, 06:27 PM

Bookmarks

Posting Permissions

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