24 Feb
2015
24 Feb
'15
5: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().