Windows Runtime

Windows Runtime, or shortly WinRT, is a new runtime (siting on top of the Windows kernel) that allows developers to write Metro style applications for Windows 8, using a variety of languages including C/C++, C#, VB.NET or JavaScript/HTML5. Microsoft has started rolling out information about Windows 8 and the new runtime at BUILD. WinRT is…

Windows Phone 7 Tutorials

Throughout January I have published on codeguru.com a series of articles about developing Silverlight applications for Windows Phone 7. Here is the list of articles: Windows Phone 7 Quick Tutorials: Part 1 – Hello World Windows Phone 7 Quick Tutorials: Part 2 – The Application Bar Windows Phone 7 Quick Tutorials: Part 3 – Page…

More God Modes in Windows 7

In my previous post I wrote about a feature called “god mode” available in Windows 7 and Vista. By creating a folder with a specific name you get one entry point to all the commands available in Control Panel. It was reported that several such shortcuts exits. Below is an image with the 16 folders…

Playing God in Windows 7

There has been some buzz in the last few days about a feature in Windows 7 called “God mode”. Well, it doesn’t empower you as a God but allows you to access all the nested features available in Control Panel from a single entry point. All you have to do is creating a folder (or…

Windows 7 and Server 2008 R2 RTM available on MSDN

Windows 7 RTM and Windows Server 2008 R2 RTM are now available for download on MSDN for MSDN and TechNet subscribers. Currently, the only available bits are in English. The other languages will become available on October 1st. Volume License customers with an existing Software Assurance license will be able to download the bits starting…

Helper Class for Console Functions

Have you tried to print colored text in a console or put the text at a specific position? You know then that STL or CRT does not provide that functionality. Windows API however, contains a set of functions for working with console windows. The list of these functions is available in MSDN. However, to simplify…

Syslink Control in MFC 9.0

Visual Studio 2008 (formely code-named ‘Orcas’) has several important updates for VC++ and MFC. Among them the possibility to create syslink┬ácontrols, command or split buttons and network address controls. In this post I will show how you can work with the syslink control. The control provides a way to embed hypertext links in a window….

Working with the Registry in VC++

Working correctly with the Windows Registry might prove a little difficult, especially for beginners. One thing one should care about for example is using the correct access rights (not just the default ones) when creating a registry key. To ease the burden of directly using the Win32 registry API, I decided to wrap them inside…