Closed GoogleCodeExporter closed 8 years ago
To remove this warning the deskband must implement IDeskBand2.
I'm attaching a patch that does just that.
I think the warning should be removed when other Windows 7 issues get fixed.
I first found out about IDeskBand2 on this site:
http://www.ureader.com/msg/16601440.aspx
Original comment by alexandre.jasmin
on 18 Jun 2010 at 6:49
Attachments:
I should probably add that IDeskBand2 inherits from IDeskBand and this doesn't
break Windows XP compatibility.
Original comment by alexandre.jasmin
on 18 Jun 2010 at 6:57
What versions of VC can compile the pager with this change? I've tried VC2005 &
VC2008 and neither had definitions of IDeskBand2, have I missed something or do
you need the latest version of VC?
Original comment by bjas...@googlemail.com
on 18 Jun 2010 at 8:30
IDeskBand2 is defined in Shobjidl.h in recent Windows SDKs.
The latest SDK integrates with VC2005, VC2008 and VC2010. It is available here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702
-529fa782d63b&displaylang=en
IDeskband2 won't be available unless you target Windows Vista so make sure that
you:
#define _WIN32_WINNT 0x0600
The patch I posted above already set this to 0x0601
To save you the trouble of installing a complete SDK I'm also attaching a small
include file defining IDeskBand2.
Original comment by alexandre.jasmin
on 18 Jun 2010 at 10:48
Attachments:
Alexandre - I have a working IDeskBand2 version now, thanks for your help.
For anyone else out there building the pager do not use SDK v6.0A (which does
have IDeskBand2 defined) on Win7, the band crashes Explorer.
I'm currently looking into the drawing issue on XP and resizing/repositioning
problems on the Taskbar.
Original comment by bjas...@googlemail.com
on 25 Jun 2010 at 8:46
That's odd. Do you know the cause of the crash?
Original comment by alexandre.jasmin
on 26 Jun 2010 at 12:34
patch is applied
closing the issue
Original comment by kvasdo...@gmail.com
on 17 Jul 2010 at 2:31
Original issue reported on code.google.com by
alexandre.jasmin
on 18 Jun 2010 at 6:33