Re: [2/5] comctl32: Add and fix tests for invalid TaskDialogIndirect arguments (try 2)
24 Feb
2015
24 Feb
'15
11:26 a.m.
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().
4034
Age (days ago)
4034
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov