Win32lib Constants

new topic     » topic index » view thread      » older message » newer message

Hello all,

I just noticed that in the win32lib constants for Windows Version, it only went up to Vista. We're at Windows 11 now.

global constant 
    WIN_3_1     = 1, 
    WIN_95      = 2, 
    WIN_95_OSR2 = 2.5, 
    WIN_98      = 3, 
    WIN_98SE    = 3.5, 
    WIN_ME      = 4, 
    WIN_NT_3_51 = 5, 
    WIN_NT_4    = 6, 
    WIN_2000    = 7, 
    WIN_XP      = 8, 
    WIN_VISTA   = 9, 
    WIN_7 		= 10, 
    WIN_8 		= 11, 
    WIN_8.1		= 11.5, 
    WIN_10		= 12, 
    WIN_11		= 13, 
    WIN_UNKNOWN = 0 

I've added the the other Windows versions. I've also noticed that it could or would probably be a good idea to use change global to public and perhaps even change it to an enum?

Note that I'm not currently maintaining the win32lib library, I'm simply making suggestions for now.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu