Re: [AD] Proposing patch in windows detection

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Victor wrote:

And what about Windows Vista? (Is it some variant of Longhorn? If yes,
we should simple consider it Longhorn).

Do you have any evidence its not the same thing ?
MSDN is all we can go by, if its not docmented in there, its not worth debating. And if you can proof something is wrong on MSDN, submit a bug, it'll get corrected.

Diferentiating between Win 2003 and Win 2003 R2 isn't usefull for our
purposes, i believe (if it was then Allegro should diferentiate between
Win98 and Win98SE too).
But still has a problem here. "Windows XP Profession x64 Edition" has a
5.2 version number too, so it would be detected as Win 2003 instead of
Win XP.


URL, on msdn ? somehow i think XP and XPx64 will be able to be differentiated.




As we can see, even in MSDN the procedures to detect the correct
version of the Windows are very tortuous (M$ really doesn't like to
keep things simple).

I would like to see more comments about that.vidence!




So people, what do you
think about this?

Victor Williams Stafusa da Silva

--- aj <aj@xxxxxxxxxx> wrote:

there is most likely  better functions that can called to obtain
correct version numbers...


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/osversioninfo_str.asp
Windows Server "Longhorn" 6.0 Windows "Longhorn" 6.0 Windows Server 2003 R2 5.2 Windows Server 2003 5.2 Windows XP 5.1 Windows 2000 5.0 Windows Me 4.90 Windows 98 4.10 Windows NT 4.0 4.0 Windows 95 4.0

so 95 and NT will look similar, but then you can test the
dwPlatformId to differetntiate that one.


	



	
		
_______________________________________________________ Faça do Yahoo! sua página inicial. http://br.yahoo.com/homepageset.html


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/