Welcome to MSDN Blogs Sign in | Join | Help

July 2006 - Posts

Campus trivia: Microsoft Walk of Fame

I was casually strolling around the MS Redmond campus when I reached the area in between building 16 and 17 . I was surprised to see that similar to Hollywood Boulevard the pavement was embedded with tiles featuring shipped products. I had never heard
Posted by abhinaba | 0 Comments
Filed under:

Howto distinguish between a C and C++ program

Q: Write a piece of code that compiles as both C and C++, but from the execution you can determine under which mode they were compiled This is the question which I overheard Amit and Srivatsn discussing before I left office. Obviously you cannot go to
Posted by abhinaba | 5 Comments
Filed under:

Make all your utility methods 'Extension methods'

As I had previously said I love extension methods and have started using them at multiple places like converting enums to strings . The CSharp 3.0 specification clearly calls out the following in red Extension methods are less discoverable and more limited
Posted by abhinaba | 4 Comments
Filed under:

Calling desctructors in email

I have the habit of ending emails I send with ~Abhinaba. So my emails would go like Hi <Someone or SomeGroup> <body of email> ~Abhinaba Each time one of my friend would recieve such an email he'd reply back with "Email error: Calling destructor

clip it

In PowerShell I ran (dir *.exe).Count to see the number of executables in System32 folder in a Vista box and it prompty returned 401. So there are 401 executables and most of us are unaware of most of them. Recently I wanted to copy the output of a console

using UIAutomation events

In my previous post I had written about how UIAutomation (UIA) can be used to drive user interfaces. UIA was designed to serve both assistive and test-automation requirements. Both of these require that user interfaces fire events to notify clients that

Multiple desktop support in Windows

In my previous job I worked in the development team of Adobe FrameMaker . This product shipped on Sun Solaris, Windows and Mac. I worked parallely on a Windows box, a Sun Blade system and a PowerMac G5 . So I got used to the best of all of them. Solaris
 
Page view tracker