Posts

Showing posts from February, 2013

C#: Enumerating Windows Using Interop

At last I decided (and willing:)) to get a better understanding of the technologies I use. And to better understand, you know, you should practicing, right? So here is my first tiny sample written it 10 mins. It enumerates all the windows on your desktop. Just out of coriosity. Sample shows just the small part of C# interop: which "using" to define, what it looks like (a bit ugly at my taste;)) Feel the power of interop and god bless  http://www.pinvoke.net/ ! Platform: Windows Language: C# IDE: Visual Studio 2010 Source code is freely available on GitHub: https://github.com/pgurenko/CSharpInteropSample Cheers