Update of Article “Determine Windows Version and Edition”

Recently I have updated my article published on CodeGuru about determining Windows version and edition. The update offers support for determining the Windows Vista and Windows Server 2008 edition installed on a machine. Since both these new operating systems have the same major and minor version returned by GetVersionEx, i.e. 6 for major and 0 … Read more

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. … Read more

Redistributable Assemblies, WinSxS and VisualStudio 2005

You might be interested in this topic if you experienced the following problem: developed your VC++ application with Visual Studio 2005, it worked ok on your computer and when you put it on another it does not run, or your application run both on your machine and other machines (without VS 2005 installed), but after … Read more

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 … Read more

Customize Places Bar in Common File Dialog

Recently, CodeGuru has published my article about customizing the Places Bar of the common file dialog. In this article I have explained how to twick the registry to display your own list of shortcuts in the places bar. The folders are specified in registry under HKEY_CURRENT_USER in Software\Microsoft\Windows\CurrentVersion\Policies\ComDlg32\PlacesBar in two ways: either by IDs for … Read more