Solved

Freezing / pausing apps when u want it to ..... (or similar)

Posted on 2002-05-02
4
128 Views
Last Modified: 2010-04-04
Hi,

i'm wondering if it's possible to make a tool that would freeze another program so like u choose the process / program and click on a button and it's freezed till u press the button again.

does it work using processes ? or what
is this even possible and is it hard to create any idea's ? examples ?
0
Comment
Question by:joyrider
  • 2
4 Comments
 
LVL 8

Expert Comment

by:Cesario
ID: 6987368
you can change the Process PriorityClass....
But freezing another Application ?????

take look in your win32 api online help

BOOL SetThreadPriority(

    HANDLE hThread,     // handle to the thread
    int nPriority      // thread priority level
   );

BOOL SetPriorityClass(

    HANDLE hProcess,     // handle to the process  
    DWORD dwPriorityClass      // priority class value
   );    


Cesario
0
 

Author Comment

by:joyrider
ID: 6987433
priority is not what i'm lookin for i want to completly freeze it like softice does for example but softice is a debugger i just want a program where i can freeze a program with i choose it's for mem searching (making trainers) etc
0
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 6988013
hi,
debuggers use WaitForDebugEvent ,ContinueDebugEvent to do it.you be able to get what you need (win9* only not nt4 etc)CreateToolHelp32Snapshot then walk the list,
note the word snapshot is cause ms knew things change ie threads,memory etc so they created it to take a photo of the system as it is now.(read matt pietreks book for excellent info on this stuff)  

actually ReadProcessMemory may be better for you ..

this example is for a game cheating type thing
( im guessing thats what a "trailer" is:

http://groups.google.com/groups?selm=3ac2fc9e_2%40dnews&output=gplain
0
 

Author Comment

by:joyrider
ID: 6988481
i already knew the readprocess stuff etc but the link seems to be quite intresting so i'll accept it :)

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 78
Downloading email attachments 2 83
Multiple image collision 13 87
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 75
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question