This time around it uses LoadLibrary instead of GetModuleHandle to make sure COMCTL32 v6 is loaded after the activation context switch - apparently depending on platform, it will not load the DLL automatically.