Solved

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

Posted on 2002-05-02
4
124 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is it possible to connect Database from Mobile APK to Website MySQL 3 65
Delphi OLE Error 8 93
delphi exception 7 61
Multiple image collision 13 69
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now