CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    3

    How do i know the state of a process?

    Well im working in visual C++ express edition on windows vista, and i would like to know the state of a specific process. How can i do this?

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: How do i know the state of a process?

    Please define "state of a process" first.
    Best regards,
    Igor

  3. #3
    Join Date
    Sep 2009
    Posts
    3

    Re: How do i know the state of a process?

    You know like sleep, executing and all that; just like http://books.google.com.mx/books?id=...ystems&f=false

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: How do i know the state of a process?

    You'd better find some other guide to learn by. Or don't take the referred one literally. In Windows the mentioned states better fit with thread states, and such details are available to dispatcher only, and never are conveyed up to user level.
    Best regards,
    Igor

  5. #5
    Join Date
    Sep 2009
    Posts
    3

    Re: How do i know the state of a process?

    Thanks men, i have been searching around the web and i found in the MSDN from Microsoft this: http://msdn.microsoft.com/en-us/libr...8VS.71%29.aspx

    I put the link because that way if some one ever get in here trouhg google or somethig thats the solution.
    Salutes.

  6. #6
    Join Date
    Feb 2002
    Posts
    4,640

    Re: How do i know the state of a process?

    That's the state of a particular thread. Not the process. One thread could be suspended, but others are running. Does that mean the process is suspended? I don't think so.

    Viggy

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured