Search found 13 matches

by Jay
Wed May 19, 2004 11:02 am
Forum: madKernel
Topic: How to get process id from process name?
Replies: 5
Views: 10386

hi!

may be i'm wrong, but i think you just have to use following kernelobject property:

Code: Select all

var NeededProcessID: Cardinal;
...
NeededProcessID := Process( 'notepad.exe').ID;
for further details look at the "madKernel - IProcess Reference".


bye!

Jay
by Jay
Sat May 08, 2004 1:45 pm
Forum: madKernel
Topic: problems with ITrayIcons.Hide !!!
Replies: 3
Views: 7355

thank you. it works.


kind regards,

Jay
by Jay
Thu May 06, 2004 11:46 am
Forum: madKernel
Topic: problems with ITrayIcons.Hide !!!
Replies: 3
Views: 7355

ok. sorry for this stupid post. i read your help about ITrayIcons. there it is written that the visibility is only changed temporarily. You can access the visibility change of the tray icons by using the following methods. A hidden tray icon is automatically shown again in the moment when the ITrayI...
by Jay
Thu May 06, 2004 11:20 am
Forum: madKernel
Topic: problems with ITrayIcons.Hide !!!
Replies: 3
Views: 7355

problems with ITrayIcons.Hide !!!

hello! ITrayIcons.Hide only works when i call a MessageBox after that function. Name := 'program.exe'; Process( Name).TrayIcons.Hide; MessageBox(0, pchar('"' + Process( Name).Exefile + '"'), '', 0); Process( Name).TrayIcons.Show; can you tell me why ? ... and an alternative way to use ITra...
by Jay
Wed May 05, 2004 1:02 pm
Forum: madKernel
Topic: full path with IProcess.ExeFile !?!
Replies: 10
Views: 17831

ok, i understand. thank you very much.


kind regards,

Jay
by Jay
Tue May 04, 2004 1:25 pm
Forum: madKernel
Topic: full path with IProcess.ExeFile !?!
Replies: 10
Views: 17831

thank you very much. it works when i add "madCodeHook" to my uses clause. can you tell me why ?


kind regards,

Jay
by Jay
Tue May 04, 2004 12:07 pm
Forum: madKernel
Topic: full path with IProcess.ExeFile !?!
Replies: 10
Views: 17831

i tested it on 2k and xp. the problem is the same in both os'.
by Jay
Tue May 04, 2004 6:09 am
Forum: madKernel
Topic: full path with IProcess.ExeFile !?!
Replies: 10
Views: 17831

thanx. i have admin rights and all needed privileges like "SeDebugPrivilege", but for me it doesn't work.


bye!

Jay
by Jay
Tue May 04, 2004 6:04 am
Forum: madKernel
Topic: memory & cpu usage of processes ?!?
Replies: 2
Views: 6316

thanx.


Jay
by Jay
Mon May 03, 2004 1:36 pm
Forum: madKernel
Topic: full path with IProcess.ExeFile !?!
Replies: 10
Views: 17831

full path with IProcess.ExeFile !?!

hi! when i use FullPath := Processes.Items[i].ExeFile; the variable "FullPath" contains normally the full path and the executable file name. but for some processes like "csrss.exe" oder one of the "svchost.exe" files it doesn't work. in those cases "FullPath" ...
by Jay
Mon May 03, 2004 1:16 pm
Forum: madKernel
Topic: memory & cpu usage of processes ?!?
Replies: 2
Views: 6316

memory & cpu usage of processes ?!?

is there a chance to get the memory and the cpu usage (%) of processes with your mad-package ???

thanx.


Jay
by Jay
Fri Apr 30, 2004 7:35 am
Forum: madKernel
Topic: get username and domain of processes ???
Replies: 2
Views: 6556

thanx a lot.


kind regards,

Jay
by Jay
Thu Apr 29, 2004 9:53 am
Forum: madKernel
Topic: get username and domain of processes ???
Replies: 2
Views: 6556

get username and domain of processes ???

hello!

first i must say that your mad-packages are great.

now my question:
is it possible to get the username and the domain of processes with the madKernel or another package?


kind regards,

Jay