Mercurial > projects > dwt-win
changeset 245:d8c3d4a4f2b0
More verbose error for failed theming.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 01 Jul 2008 08:58:50 +0200 |
parents | a59d51c12b42 |
children | fd9c62a2998e |
files | dwt/internal/win32/OS.d |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;