Added some debug information, hopefully this will tell us something.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2032 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-09-14 14:38:39 +00:00
commit 91dd10ebcb
2 changed files with 29 additions and 12 deletions

View file

@ -150,6 +150,12 @@ namespace Greenshot.Helpers.IEInterop {
} catch (Exception ex) {
LOG.Error("Error checking the compatibility mode:");
LOG.Error(ex);
try {
Type document3Type = COMWrapper.GetUnderlyingType(document3 as IDispatch);
COMWrapper.DumpTypeInfo(document3Type);
} catch (Exception exInternal) {
LOG.Error(exInternal);
}
}
Rectangle clientRectangle = contentWindow.WindowRectangle;
try {