Lord, teach us how to pray

“Our Father in heaven, hallowed be your name, your kingdom come, your will be done, on earth as it is in heaven. Give us today our daily bread. And forgive us our debts, as we also have forgiven our debtors. And lead us not into temptation, but deliver us from the evil one.” – Matthew 6:9–13

Continue Reading

Enhancing .NET code via Metaprogramming with Visual C++

 Introduction There has been a lot of things happening in the IT industry, from the cloudification of applications to the advent of mobile devices. The Renaissance of native languages like C++ and its new standard C++11 to new releases of .NET framework all of this to support this evolution of the industry. One thing is […]

Continue Reading

Querying for existing Window Stations

Hi Community, This post is about querying for existing Window Stations in Windows. I am currently working on a project which needs to perform specific tasks depending on the Window Station, specifically when executed from a Windows Service. The code snippet is pretty straightforward as shown below /* http://msdn.microsoft.com/en-us/library/windows/desktop/ms682643(v=vs.85).aspx */ private delegate bool EnumWindowStationProc(string lpszWindowStation, […]

Continue Reading

Microsoft Visual C++ MVP Award for 2013

G’day Community, Firstly, I’d like to wish you all a happy new year 2013, full of health, blessings & success Secondly, I’m happy to announce that Microsoft has awarded me with an MVP (9th consecutive year) in the Visual C++ category, therefore I’d like to thank God, community & fellow developers,Microsoft and the MVP Program. […]

Continue Reading

Analysing assemblies and finding out possible leaks by not disposing of objects properly

Today’s post is about… A command line utility I wrote a few days back for analysing and finding out possible leaks by not disposing of objects properly. Before we get into the nuts and bolts of the utility, please find attached two files which are: MSIL Instruction Set Specification (Required to do any MSIL manipulation) […]

Continue Reading

CyberNanny: Remote Access via Distributed Components

This article is about an application called CyberNanny, which I recently wrote to allow me to remotely see a newborn baby at home from anywhere at any time. It’s written in Visual C++ (MFC) and it comprises different technologies such as Kinect and its SDK, Windows Azure, Web services and Office automation via Outlook. The […]

Continue Reading