Working with the Settings Charm for Windows 8.1 Store Applications

Windows 8 features a Settings charm to display both application (the top part) and system (the bottom part) settings (you get it from swiping from the side of the screen). The system provides two entry points, Permissions and Rate and Review, the later only for applications installed through the store. You can customize the settings…

cppconlib: A C++ library for working with the Windows console

This project has been moved to GitHub. New location: https://github.com/mariusbancila/cppconlib Many years ago I published on my blog a helper class for working with the Windows console that was wrapping the Windows console API. Looking back at it I realized it was a pretty naive implementation. So I decided to start a new and make…

How to Determine What Process Loaded a DLL

Trying to figure out in which process a particular DLL is currently loaded, I have found two solutions (perhaps there are more). Solution 1: tasklist.exe

Solution 2: listdlls.exe (from sysinternals)

It might be that listdlls is more reliable than tasklist. I have ran into cases when tasklist failed to list processes that had…

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…