Source code for TerminateThread the only way ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andla

    #1

    Source code for TerminateThread the only way ?

    Dear experts.

    I have problem with IHTMLTxtRange findText. It hangs the application.
    Now instead of waiting for a fix I want to use a thread and then kill
    the thread if findText is not responding. I know it is a dirty
    solution but I rather stick with memory/resource leaks instead of the
    program to hang. Now I have some problem with knowing how to write
    source code for TerminateProces s so I would appreciate very much if
    you could post some code snippet.

    Please help me out on this.

    Best regards
    Andla
Working...