When building a COM component with its own window containing common controls and supporting Visual Style feature of Windows XP, we usually add a manifest file requesting the ver 6.0 of comctl32 *and* compile the source with a macro ISOLATION_AWARE_ENABLED set to 1. However, the macro is not supported in the current MinGW/MinGW-w64, and the technique doesn't work at all. We need to write our own activation context management codes (that is usually too complicated to do correctly IMHO) or just give up supporting Visual Style feature.
It is desired to support ISOLATION_AWARE_ENABLED in w32api header files in a same way as in Microsoft SDK.
See http://msdn.microsoft.com/en-us/library/aa376607\(VS.85).aspx for a discussion on Activation Context management and the ISOLATION_AWARE_ENABLED macro.
Log in to post a comment.