Thread: Program-launching Program

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    30

    Program-launching Program

    I need help on how to make one program launch other programs.
    I have been looking for how to do this, but i cant find it. im also looking for a way to get one program to reieve information from another.
    ADRUMSOLO4U

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    FAQ

    gg

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    30
    what is gg supposed to mean???
    ADRUMSOLO4U

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    My initials.

    gg

  5. #5
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    Oh, Codeplug. You could have had so much fun with that.
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    30
    I looked in there, and i found code to spawn a child, but i want two different programs, one that launches the other, but also recieves info from the launched program, that u can see, and that can pass information back and forth
    ADRUMSOLO4U

  7. #7
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    Well, you could pipe the output from the program that is launched into a file. Then read from the file.

    Are you trying to do this with an already compiled program?
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  8. #8
    Registered User
    Join Date
    Jan 2005
    Posts
    30
    i am trying to create a AIM like messaging system. I want to be able to have two of the same program open on the same computer, and have the master program take the characters inputed, and display them in both windows
    ADRUMSOLO4U

  9. #9
    Registered User
    Join Date
    Jan 2005
    Posts
    30
    it may seem pointless, but i want to be able to do it, and so im not gonna stop till i have.
    ADRUMSOLO4U

  10. #10
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    Well I do not know how comfortable you are with programming but for what you are trying to do, you need some form of Inter Process Communication(IPC). This can be accomplished through several means such as a DLL with a shared data segment, or through the creation of a COM server.
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  11. #11
    Registered User
    Join Date
    Jan 2005
    Posts
    30
    that sounds...ummm...like long and strenuous work. Im just trying to further my skills in programming, and i figured this would be fun to make....but i guess im a bit over my head there. What i most want to do, is make games, as a career. I havent found any coding that even LOOKS likea prgram. I guess im talking about appearences. I have looked for ways to change the appearence, and to do other stuff, but i just cant find anything. I know it is out there, b/c PS2 programmers use C and C++, but i havent found the kinda coding im looking for.
    ADRUMSOLO4U

  12. #12
    Registered User
    Join Date
    Dec 2004
    Posts
    465
    Do you want to create the program for the sake of creating it? There is plenty of programs that do that very thing if thats what your looking for.
    My computer is awesome.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can someome help me with a program please?
    By WinterInChicago in forum C++ Programming
    Replies: 3
    Last Post: 09-21-2006, 10:58 PM
  2. Launching an application from my program
    By tao in forum Windows Programming
    Replies: 6
    Last Post: 07-04-2006, 01:15 PM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM