 |
|
 |
The same like for instance in antyviral services.
Ragi
|
|
|
|
 |
|
 |
Refreshing the Process List does not automatically bring on the horizontal scrollbar (or remove it if it's on, and the situation changes), and neither does the application remove Window handles and Process ID's that may have been spawned by another Process that may have been killed in the interim (even when you do multiple 'Refresh' or subsequent execution of the program).
William
Fortes in fide et opere!
|
|
|
|
 |
|
 |
Some proccess which I use task-manager to kill, it send a message : "Access is denied". I use your program, and it doesn't work too!
|
|
|
|
 |
|
 |
Correct. You can't kill some services.
|
|
|
|
 |
|
 |
I have written an invisible, noninteractive service. Now I want to call ShellExecuteEx in my service. For example, I want to start up notepad by invoking ShellExecuteEx. The process notepad is started, but the window does't appear, how to solute the problem? Thanks.
|
|
|
|
 |
|
 |
Sorry, I'm not familiar with coding services. I'd suggest posting a question in the VC++ forum. I'm sure someone there could answer it.
Darren
|
|
|
|
 |
|
 |
BOOL ShellExecuteEx(LPSHELLEXECUTEINFO lpExecInfo);
In your SHELLEXECUTEINFO structure, did you set .nShow = SW_SHOW ?
|
|
|
|
 |
|
 |
you may need to set the "allow service to interact with the desktop".
|
|
|
|
 |
|
 |
Ähm.... *lookinginMSDN*
Thats the [...] DWORD dwServiceType [...] in the CreateService function. You must set SERVICE_INTERACTIVE_PROCESS also to the other action you choose. The only problem is, that you must know, that after it's set everything (like Dialog boxes, etc.) will be seen by the user. But also your Notepad
"Eritis sicut deus, scientes bonum et malum"
Faust
|
|
|
|
 |
|
 |
It refresh process list manually. but I have to detect it automatically.
so, what can you suggest to solve this?
|
|
|
|
 |
|
 |
I know of no way to detect and refresh however a simple timer is how most of they type applications work. a timer of 1 second would refresh the list every second.
|
|
|
|
 |
|
 |
Task Manager appears to use some sort of timing to control its updates.
C++/MFC/InstallShield since 1993
|
|
|
|
 |
|
 |
Hello!!
I´m using this fantastic aplication to learn about the process with Windows. I don´t understand why a process has the window title 'DDE Server Window', but I don´t see this title in this process! Whait is this?
Can anybody tell me how I can obtain the true title?
Thanks to everybody!
-- Sorry for my poor english --
|
|
|
|
 |
 | Memset  |  | Kwakkie | 21:25 14 Jan '02 |
|
 |
In TList.cpp line 121, you clear the tlist by using the memset like this:
memset(tlist,0,sizeof(tlist));
This only clears the first element. Wouldn't it be better to use
memset(tlist,0, MAX_TASKS * sizeof(tlist));
instead?
|
|
|
|
 |
|
 |
Would it be possible for you to add the option to bring the task back up to the front?
Hmm.. let me explain, when explorer crashes items that have been minimized to the systems tray still run but it's impossible to open them again. You can kill the processes but some times they are doing things and you don't want them to stop. So if you had an option that could open as if you had done it from the system's tray it would be handy atleast for me.
|
|
|
|
 |
|
 |
Does anybody have a source for Wintop or any similar program that can show and record a CPU utilization per threads?
Singidunum
|
|
|
|
 |
|
 |
have you got it?? I need the same thing..
VP
|
|
|
|
 |
|
 |
How do I obtain the text from other's application edit control?
Romeo
|
|
|
|
 |
|
 |
Get a window handle to their main window, using something like FindWindow().
Using Spy++, you can get the edit controls ID..
After you've got the main window handle with FindWindow(), you can find the child window with that ID.. (I think GetWindow() will work here..)
--Kris
--
.sig error: indeteriminent reader intelligence
|
|
|
|
 |
|
 |
you can hook mouse events whose parameters which then you will receive contain hwnd to your intended edit ctrl on moving the mouse pointer to it;P;P
|
|
|
|
 |
 | HWND  |  | Daniele Piazza | 23:00 30 Jun '00 |
|
 |
Hi Darren! Are you sure about window handle correctness?
I compared with spy results and order seems to be uncorrect.
|
|
|
|
 |
|
 |
hmmm. no i'm not sure.... i dont even remember what the source code looks like. =) here's the easy excuse... i'm just using what tlist gives me. i'll look into it
|
|
|
|
 |
|
 |
Sorry... your (tlist) code is correct. Only problem is related to the scan task in order to find the correct HWND.
In this cycle every HWND in a process overwrite the previous, so only the last is shown as "THE HWND".
|
|
|
|
 |
|
 |
How to modify other process's memory like Game Wizard
or other game cheat machines ?
Thanks!!!
|
|
|
|
 |
|
 |
WriteProcessMemory() will do that
|
|
|
|
 |