Archive

Archive for December, 2006

Happy Eid and New Year !

December 31, 2006 1 comment

So it’s new week, new month, new year and Eid-Ul-Azha/Adha on same day here in Pakistan. So Happy Eid and Happy New Year to all the people in the world 😀 !

Haroon

Advertisements
Categories: General

C Traps and Pitfalls !

December 12, 2006 1 comment

I still believe that C was/is my oldest and first love :). And when I read this paper C Traps and Pitfalls By: Andrew Koenig of AT&T Bell Laboratories, this love was even consolidated ;). Specially the function call (*(void(*)())0)(); really made me believe that, “C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows your whole leg”.

For the curious readers the hint is enough that this is the function call to a function whose address is stored at 0(zero) location, rest of the details can be read in the beautiful article that I mentioned earlier.

Anything Possible !

December 12, 2006 Leave a comment

So I am back after a long break 🙂

Anything Possible! – its the motto of Parker Hannifin, the new client of our company. Well I have been included in this exciting yet tougher project in relatively old technology(COM, ATL, MFC etc.). This project has seriously shown me why MFC is not a big success(though I knew it academically) and why MS.NET is better than COM/DCOM. The domain of the project is HMI – Human Machine Inteface/Interaction. Imagine 0.6 millions lines of existing source code, extensive COM and ATL interfaces and classes, and 30 minutes compilation time, aint I having good time and fun doing this project? I will soon write about new learning and any discoveries(if any) relating this project. But for now I am still thinking how a personal never told thought (Anything Possible) can be motto of a billion dollar company, but again you know any thing is possible :). Another good thing about the project is it gave me company of my old batch mate and great friend Rana Hammad Hussain :).

Regards,

Categories: General