I wish to retrieve application-launch/exit time informations on windows
CE platform development. Does someone know the equivalent of the
function GetProcessTimes available on NT platforms but not on Windows
CE
http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/getprocesstimes.asp
Is there another way to get back process creation time than
encapsulating a CreateProcess method by both GetSystemTime functions
and getting the elapsed time by the difference That's all I figure out
for the time being. I know there is a more efficient and precis way to
get that but I don't know how
If any idea, please let me know...
Thanks a lot.

[Windows Mobile][C/C++] how getting Application Launch/exit time?
Kendallsoft
You'll want to use the toolhelp functions (start with CreateToolhelp32Snapshot, http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcekernl/html/_wcesdk_win32_CreateToolhelp32Snapshot.asp frame=true) and then look at passing the handle for the main thread of the process to GetThreadTimes.
If you can use CreateProcess to launch your process (i.e. you don't need to do this for already running processes), the PROCESS_INFO struct you get back will already have a handle to the main thread, and you can call GetThreadTimes directly rather than needing to go through Toolhelp32.
Hope this helps,
Jeff