Thread: making a program leave a msg for background program when it closes

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    6

    making a program leave a msg for background program when it closes

    HI,
    I'm very new to programming and i'm probably in the wrong forum. I'm doing a project for uni where i want unreal tournament to leave a msg when it exits so that another program ' adobe director' can see that its finished and then load something else. I thought about finding a way for the program to leave some sort of word file in a directory.
    I don't know who to ask so i thought i'd start here!


    I'm pretty lost so i'd be really grateful for any help!

  2. #2
    Registered User
    Join Date
    Feb 2006
    Posts
    6
    had an idea. Is there some kind of log in windows that would give reference to unreal tournament closing? Does it change the registry?

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    If the apps had both been written by you I would suggest a MS Message Queue (MSMQ) or registering a broadcast message (HWND_BROADCAST) depending on the requirements (reliability, amount of data ect).

    Or create a file and have the second app monitor the folder for changes (there are WIN32 API functions for this purpose)

    But with a third party game.....
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making a program which....
    By Zophixan in forum C++ Programming
    Replies: 9
    Last Post: 11-01-2002, 09:29 AM
  2. program open and closes
    By Musicdip in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-27-2002, 04:34 PM
  3. help making a program run
    By Dummies102 in forum C++ Programming
    Replies: 3
    Last Post: 02-22-2002, 12:51 PM
  4. Program chews up a lot of CPU when it closes
    By bman1176 in forum Windows Programming
    Replies: 4
    Last Post: 01-10-2002, 11:23 AM
  5. Replies: 1
    Last Post: 12-26-2001, 03:00 AM