Re: process environment monitoring

Eric Strain <eric_strain1-/[email protected]>
Newsgroups gmane.comp.windows.off-topic
Message-ID <[email protected]>
Hi John,
 Any luck with finding an answer? I don't think there is any way to directly alter the process environment of another process unless the target process is a child of the process doing the altering. 

--- On Wed, 5/12/10, John Smith <[email protected]> wrote:


From: John Smith <[email protected]>
Subject: [OT] process environment monitoring
To: [email protected]
Date: Wednesday, May 12, 2010, 4:11 PM












Hi All I need to monitor the environment of a specific process within my program, other than through polling, is there any direct way to do that? I am thinking about using a seperate thread on a timer that periodically checks the environment of the target process and if it detects any changes, it simply readjusts the environment to what it was when the program initialized. The reason, if anyone is curious, is that I do not want any outside processes corrupting the environment of my "protected" process. Any ideas or suggestions for another approach? My programming environment is MSVC 6.0 on XP sp2, Thanks for any help here. John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.