[Wnd-users] e: bug in comctl32 version check in wintypes.py
Status: Alpha
Brought to you by:
jurner
|
From: JUrner <lo...@we...> - 2005-05-18 15:35:03
|
Dave Brueck wrote:
>>Hello,
>>
>> This may have already been brought up, but when I run any WND
programs on WinXP
>> the version check on comctl32 in wintypes.py fails because I have
version 6.0,
>> and the conversion to a string makes the test fail.
>>
>> Since tuples are comparable, I got it to work by changing:
>>
>>VER_COMCTL = int("%d%d" % (result.dwMajorVersion,result.dwMinorVersion))
>>if VER_COMCTL < 471:
>>
>> to
>>
>> VER_COMCTL = (result.dwMajorVersion, result.dwMinorVersion)
>>if VER_COMCTL < (4,71):
>>
>> -Dave
One bug found, a million to go.
Well, this has not been brought up alreaddy, 'cos your the first visitor
and the first and exclusive alpha tester on XP so far (except from me).
Nice and warm welcome to you :)
True, this is nonsense and was not meant to scare off XP users.
I' ll upload a version with this bug fixed as soon as possible.
thanks Jürgen
|