Killing another program

Discussion in 'Questions (Windows Mobile)' started by HARRY, Dec 19, 2008.

  1. HARRY

    HARRY Active Member Licensed User


    I am writing a program (A) that occasionnaly will update files. To be sure that those files are not used by another program (B), not written by me, I need to know whether B is running.

    I intend to do that by checking in A the window handle of B to be 0 or <> 0, using dzhw1.GetWindowHandle(ClassName , WindowName ). However, I do not know the ClassName and the WindowName of B.

    1) Is it possible to get a list of those items of the running programs; then I can identify for one time the data I need?

    2) Does another possibility exist to get the required window handle to kill B?

  2. Erel

    Erel Administrator Staff Member Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice