Delphi 1: have a handle to an application, need to terminate the application

Hello everyone

The subject says a lot.

From my program, I launch another application and get an application
handle returned.

At a later point, I want to close the "foreign" application from my
program. How do I do this in Delphi 1.0?

The problem as I see it is, that I have an _application_ handle, but I
need to have the _window_ handle to send it a message. How do I get
the window handle of the application?

Any help is appreciated!

Kind regards from Denmark
Kind regards from Denmark
Jan Karlsbjerg,