Image List tests for comctl32 v6
thunderbird2k at gmail.com
Fri Oct 2 14:49:55 CDT 2009
On Fri, Oct 2, 2009 at 6:49 PM, Nikolay Sivov <bunglehead at gmail.com> wrote:
> Frank Richter wrote:
>> On 02.10.2009 00:27, Joel Holdsworth wrote:
>>> Does anyone have any thoughts about what might be going on here, and
>>> what I should do with my tests?
>> If the manifest is set up dynamically I would expect that all symbols
>> imported from comctl32.dll are done so _before_ the manifest takes
>> effect, ie any comctl32 functions would be from the pre-v6 one chosen at
>> the program load time. (Apparently, for window classes, there is some
>> extra mechanism in Windows that makes the v6 classes used.)
> After it loaded GetModuleHandle() won't return a correct value, if I'm
> right, there's a special case for SxS.
>> If that is the case the solution would probably be to load v6
>> comctl32.dll dynamically and obtain the symbols you want to use at
>> runtime as well.
> How, with full path? It isn't good either.
Together with Andre I have been working on some comctl32 v6 tests. I
also tried to dynamically apply a manifest to figure at what point
windows classes are re-registered. Calling CreateWindow after applying
a manifest doesn't appear to work (at least on XP SP3). I'm not sure
what happens to function calls after a context switch (when switching
to the manifest). Perhaps it is important to load the functions
dynamically then, I believe InitCommonControlsEx is important in some
cases, perhaps try to call it.
More information about the wine-devel