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

    How do I kill a 16-Bit Programm under NT4

    Hello,

    i want to kill a 16-Bit Programm (or Prozess) under NT4, and I don't know!

    I want to know the ProcessID and over this I want to kill the Programm!

    Did anyone know a solution or an example?

    Please help me!

    Thx!




  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How do I kill a 16-Bit Programm under NT4

    MSDN article Q175030 has all the details for enumerating processes (16 and 32-Bit!) under NT.
    Then, if you have the process ID or handle it should be easy to kill that one by calling TerminateProcess.


  3. #3
    Guest

    Re: How do I kill a 16-Bit Programm under NT4

    Thank you for your answer,
    but how realized this in VB?

    The example is in C-Code!

    I dont find anything about this in the Win32Api.txt !!!

    Please help me!


  4. #4
    Join Date
    May 1999
    Posts
    3,332

    Re: How do I kill a 16-Bit Programm under NT4

    correction: you cannot use the TerminateProcess API. you need to call VDMTerminateTaskWOW from vdmdbg.dll.



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