Report question

Question: How do I get the handle of a console application's window