levitation / vwkvasdopager

Automatically exported from code.google.com/p/vwkvasdopager
1 stars 0 forks source link

Compatibility warning when enabling the toolbar on Windows 7 #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Register the DLL
2. Right click on the toolbar and enable Toolbars -> 'KvasdoPager'

What is the expected output? What do you see instead?

I expect the toolbar to appear immediately but see this message instead:

The KvasdoPager toolbar isn't compatible with this version of Windows
If you continue, the toolbar might appear incorrectly. To check for an updated 
version, go to the software publisher's website.

What version of the product are you using? On what operating system?

0.4.3a on Windows 7

Original issue reported on code.google.com by alexandre.jasmin on 18 Jun 2010 at 6:33

GoogleCodeExporter commented 9 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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
That's odd. Do you know the cause of the crash?

Original comment by alexandre.jasmin on 26 Jun 2010 at 12:34

GoogleCodeExporter commented 9 years ago
patch is applied
closing the issue

Original comment by kvasdo...@gmail.com on 17 Jul 2010 at 2:31