Category Archives: Windows

Microsoft Windows

Visual Studio Debugging – Accessibility Applications with uiAccess Attribute Set

Debugging the application from Visual Studio first resulted in a dialog telling me I needed to restart Visual Studio as Administrator. After doing so, trying to run in the debugger resulted in an error that read, “Unable to start program” … Continue reading

Posted in Technology, Windows | Leave a comment

Exporting Visual Studio-compatible Bitmaps from GIMP

When exporting bitmaps from GIMP, two options must be selected in order for the bitmaps to be compatible with Visual Studio: Under Compatibility Options, check “Do not write color space information”. Under Advanced Options, select “R8 G8 B8” under 24 … Continue reading

Posted in Technology, Windows | 1 Comment

Microsoft IME for Japanese Input

I’ve found the keyboard shortcuts for the Microsoft IME (Input Method Editor) to be poorly documented. I’ve tried to collect all of them here. Switching Between Input Languages These keyboard shortcuts switch between, for example, English and Japanese input languages. … Continue reading

Posted in Technology, Windows, 日本語 | Leave a comment

Setting Global C++ Include Paths in Visual Studio 2012 (and 2013, and 2010)

Starting with Visual Studio 2010, Microsoft decided to make life hard on C++ developers.  System-wide include path settings used to be accessed through Tools | Options | Projects and Solutions | VC++ Directories.  However, that option is gone: Instead, the … Continue reading

Posted in Technology, Windows | 3 Comments

Console2 and Cygwin with Solarized Color Palette

If you want to use Ethan Schoonover’s Solarized color palette with Console2 and Cygwin, here’s how: Edit the console settings file at %LOCALAPPDATA%\Console2\console.xml or %APPDATA%\Console\console.xml. Replace the <colors> … </colors> section with the following: Restart Console2. Colors in vim look … Continue reading

Posted in Cygwin, Technology, Windows | 1 Comment

How to Build Microsoft Detours Express (32-bit) on 64-bit Windows

Microsoft Detours Express, which is 32-bit only, can still be built on 64-bit operating systems. Here’s how: Open a 32-bit Command Prompt (C:\Windows\SysWow64\cmd.exe). Run VCVARS32.BAT VS2010: “C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat” VS2008: “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat” Set … Continue reading

Posted in Technology, Windows | Leave a comment

What Exactly Are ATL’s BEGIN_COM_MAP, END_COM_MAP, and COM_INTERFACE_ENTRY Macros?

There are many places where ATL’s COM_MAP macros are documented, but I haven’t seen it plainly stated what they actually mean. Simply put, BEGIN_COM_MAP implements _InternalQueryInterface. COM_INTERFACE_ENTRY indicates that your class supports the specified interface. END_COM_MAP finishes the _InternalQueryInterface implementation. … Continue reading

Posted in C++, COM, Technology, Windows | Leave a comment

Enabling Wake-On-LAN on a Toshiba Satellite A505

This post describes how I fixed my Wake-On-LAN problem using the powercfg tool. My Toshiba Satellite A505-S6986 wouldn’t respond to magic packets sent over the network. Before using powercfg, I first checked the following: Wake-On-LAN was enabled in the BIOS. … Continue reading

Posted in Technology, Windows | 1 Comment

iTunes COM SDK for Windows and Encrypted File System

The “iTunes COM SDK for Windows” archive from the Apple Developer Center contains files which are marked as encrypted. Shortly after extracting the files to my libraries folder, I was surprised to receive a popup dialog from Windows 7, “Encrypting … Continue reading

Posted in Technology, Windows | Leave a comment

Where is the iTunes SDK?

The Apple iTunes SDK (“iTunes COM SDK for Windows”) is astonishingly difficult to find. It can be found on the

Posted in Technology, Windows | Leave a comment