Solved

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

Posted on 2002-05-02
4
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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
Delphi application Soap connection 5 152
Downloading email attachments 2 94
how can i search if string exist in array ? 3 77
Firemonkey allowing RTL on android 6 75
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

739 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