[fpc-pascal]Obtaining Windows API handle of a new console.

MPDJ MPDJ at btinternet.com
Sat Apr 21 02:01:43 CEST 2001


Hi,

I've looked all through the Windows API help system but I've failed to find
a method for obtaining the handle of the current console process.

Eg. I start prog.exe. I want prog.exe to find out the handle that points to
itself, that Windows has created for it.

Cheers for any help

Andy





More information about the fpc-pascal mailing list