Pytanie odnosnie procesow...

0

Czy Windows zapisuje gdzies date uruchomienia danego procesu?
Jesli tak to gdzie i jak ja wyluskac?

Z gory dzieki..{browar} --take care,

Wodzu

0

nie sądze, ale na pewno jest czas działania kompa--Delphi 6
Pozdrowienia{hello} ,
Moderator Imperior

Kampania na rzecz przejrzystości
Apeluję o pisanie na początku tematu znacznika jakiego języka dotyczy post
np. [delphi], , [c++], [ot]

0

Cześć!

Skorzystaj z:

--- GetProcessTimes ---
The GetProcessTimes function obtains timing information about a specified process.

BOOL GetProcessTimes(
HANDLE hProcess, * specifies the process of interest
LPFILETIME lpCreationTime, * when the process was created
LPFILETIME lpExitTime, * when the process exited
LPFILETIME lpKernelTime, * time the process has spent in kernel mode
LPFILETIME lpUserTime * time the process has spent in user mode
);

--- GetThreadTimes ---
The GetThreadTimes function obtains timing information about a specified thread.

BOOL GetThreadTimes(
HANDLE hThread, * specifies the thread of interest
LPFILETIME lpCreationTime, * when the thread was created
LPFILETIME lpExitTime, * when the thread was destroyed
LPFILETIME lpKernelTime, * time the thread has spent in kernel mode
LPFILETIME lpUserTime * time the thread has spent in user mode
);
--Szymek

Prawo Bolingsa - jeżeli czujesz się świetnie, nie martw się, to minie.

1 użytkowników online, w tym zalogowanych: 0, gości: 1