# HG changeset patch # User Frank Benoit # Date 1214895530 -7200 # Node ID d8c3d4a4f2b0347c08398df040c400195f721b00 # Parent a59d51c12b4280ace21145272669da3aa34adb5e More verbose error for failed theming. diff -r a59d51c12b42 -r d8c3d4a4f2b0 dwt/internal/win32/OS.d --- a/dwt/internal/win32/OS.d Sat Jun 28 20:27:21 2008 +0200 +++ b/dwt/internal/win32/OS.d Tue Jul 01 08:58:50 2008 +0200 @@ -388,7 +388,12 @@ pActCtx.lpResourceName = MANIFEST_RESOURCE_ID; HANDLE hActCtx = OS.CreateActCtx (&pActCtx); if (hActCtx is INVALID_HANDLE_VALUE){ - printError("CreateActCtx failed" ); + printError("CreateActCtx failed, hence theme support will not be available\n" + "Please check for:\n" + " - missing link option -L/su:windows:5 or -L/su:console:5\n" + " - missing link option -L/rc:dwt\n" + " - resource file 'dwt.res' was not accessible by linker\n" + ); } else{ ULONG_PTR ulpActivationCookie;