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