[2/5] comctl32: Add and fix tests for invalid TaskDialogIndirect arguments (try 2)

Nikolay Sivov bunglehead at gmail.com
Tue Feb 24 05:26:33 CST 2015


On 23.02.2015 15:41, Joachim Priesner wrote:
>
>   START_TEST(taskdialog)
> @@ -49,6 +79,20 @@ START_TEST(taskdialog)
>       if (!load_v6_module(&ctx_cookie, &hCtx))
>           return;
>
> +    hComctl32 = LoadLibraryA("comctl32.dll");
> +    if (!hComctl32)
> +    {
> +        skip("Failed to load comctl32.dll. Skipping the test\n");
> +        return;
> +    }

It's unlikely if will fail to load, also load_v6_module() already calls 
LoadLibraryA(), so you probably need GetModuleHandle().





More information about the wine-devel mailing list