Need help!

This is a discussion on Need help! within the C++ Programming forums, part of the General Programming Boards category; I need an .exe that launches two programs (differnt windows!) from the same .exe. I also need an config file ...

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    3

    Need help!

    I need an .exe that launches two programs (differnt windows!) from the same .exe. I also need an config file for it (.ini?) so I can change what .exe's it's gonna start.

    Please I really need this

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Can you explain more of what you are actually trying to do?

    You can certainly create multiple windows in one application.

    Or you can have one executable that starts another one.

    Which is better depends on what you are actually trying to do...

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,824
    This seems trivial to accomplish using a 2-line batch file.
    Why all the mess with C++ and .ini files?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    3
    I want to start two game servers at once at my server but I'm not able to make it start two apps, so I need to make this.

    It dosnt have to be in a special language but I need an starter and one setting file to be able to change the name of the .exe's starting.

    Thx in advance

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,824
    Open a console, and type
    start /?

    Create a .cmd file with two "start" commands.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Registered User
    Join Date
    May 2009
    Posts
    3
    it needs to be an exe.... sorry but thats what the server says

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21