Hi,
I am developing applications for smart device by using CF1.0 in visual studio 2003. I hav one doubt. I give one exe file name to the program (function) that program returns whether that file is currently running or not. ( OR ) that program returns window handler (return type is intptr)for that file. Is there any Device API for solving that problem i don't need Process class because that class contains more code and it occupies more memory. I need solution like FindWindowW(). Please send links or solutions.
Thanx
GANESAN M.

Smart device help
Cammyr
gfheiche
I got the solution. Just I'm using FindWindowW() and SendMessageW() APIs to close the application which is currently running.
Steps:
1. First i get the window handle by using FindWindowW()
hnd=FindWindowW(vbnullstring, "WindowName")
2. I sent message to that handle "hnd" to close that handle.
SendMessageW(hnd,WM_DESTROY,IntPtr.Zero, IntPtr.Zero)