Is there a way to close an EXE from another EXE ? Do you use a system command in the code ?
Thanks in advance for your answers. rwalt
Is there a way to close an EXE from another EXE ? Do you use a system command in the code ?
Thanks in advance for your answers. rwalt
My OS is Win32 (Win98), I use both Borland 5.5.1 Free Command Line Tools and Dev-C++ 4.01 (MinGW GCC 2.95.2-1).
The reason is that a windows app I created for work is being used against my wishes by coworkers. I have created a new version that will not run unless it detects two hidden text files.
The problem is that they have made copies of the older version, and I want to create a program that will detect it running in the OS and shut it down, then overwrite it to render it useless (hopefully they won't change the file name to something I cannot target).
I'm pretty ticked off !!! rwalt
Sounds more like a job for your management.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Yeah your right Adrian. The program is harmless anyway.
But the question I posed is interesting, I know of a post on this site that shows some code on how to shut down Windows from an application. If you could do that, surely there must be a way to close one or more Windows application from another. I suspect ( but probably am wrong ) that it could be done with asm code. Microsoft probably saw the ills of someone being capable of doing this, and built the WinOS in such a way to greatly hinder someone trying to do this very thing.
Thankyou for your replies. rwalt