CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2004
    Posts
    1

    Get thread Handle

    Is there any function in Windows API that given a thread Id returns a Handle to that thread?

  2. #2
    Join Date
    May 2004
    Location
    Michigan, United States
    Posts
    457
    OpenThread()
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

  3. #3
    OpenThread()

    Requirements
    Windows NT/2000 or later: Requires Windows 2000 or later.
    Windows 95/98/Me: Requires Windows Me.
    Header: Declared in Winbase.h; include Windows.h.
    Library: Use Kernel32.lib
    Best Api Monitor tool.
    Trace the target program automatically and monitor the parameters of all API and COM interfaces.

    Auto Debug for Windows 4.0
    Auto Debug for .Net
    http://www.autodebug.com/

  4. #4
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899
    if you want to use something that works with Windows 9X too, you have to use the Toolhelper ... and their snapshots:

    take a look here
    http://msdn.microsoft.com/library/de...lp_library.asp
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

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