in reply to working with enivornment variables in win32

Another simple way to do what you want is to have a "flag file". That is a file in a well known directory that is created when the external process is complete. Then your control process just has to check for the existence of the file rather than opening it.

Once the controller has noticed the file exists it can just delete it, the file doesn't need to actually contain anything (unless you want it to).

  • Comment on Re: working with enivornment variables in win32