Welcome to AddressOf.com Sign in | Help
in Search

Browse by Tags

All Tags » Interop » Tip
  • Console Event Handling

    Someone sent me an IM asking if I knew of a way to handle the pressing of the close button on a console application.  After a bit of research, I found a way (and some limitations).  This required stepping outside of the Microsoft .NET Framework utilizing P/Invoke.  This allowed me to capture the application close event (which ...
    Posted to AddressOf.com (Weblog) by CorySmith on July 23, 2007
  • Console Event Handling

    IntroductionAt one point or another, most software developers have written a console application.  It might have been while you were learning how to write software or, even more recently, as a way to create a simple tool that doesn't require the extra effort involved in creating a robust user interface.  At Tech-Ed 2007, I actually ...
    Posted to AddressOf.com (Weblog) by CorySmith on July 23, 2007