Windows version detection
Does SB use the "GetVersion(),DWORD,PASCAL" API call to establish the
Windows version?
The reason I ask is because my programs use that... and on *one* computer
only is returning "Windows 95" on a WinXP computer (I haven't seen the
computer, but the owner swears it is XP!).
We are soon to upgrade that shop, and I'm interested in what SB will
make of it.. whether it will correctly determine the version...
Steve
1 Attachment(s)
Re: Windows version detection
Are you SURE she hasn't checked the Compatibility mode box?
If so, the first (default) choice on XP is Win 95.
Jane
Re: Windows version detection
RU saying that checking a compatibility box will get Windows to return the
WRONG version of itself?
I find that hard to believe...
Steve Bywaters
Re: Windows version detection
Steve,
> RU saying that checking a compatibility box will get Windows to return the
> WRONG version of itself?
>
> I find that hard to believe...
Why? For it to emulate a different version it has to emulate a
different version!<g>
--
Lee White
Enroll Today at http://CWaddons.com
Re: Windows version detection
And the computer is still *actually* running XP - so it is lying.
Emulation != Actually-being-something
I will be interested to see what API Friedrich is using... no doubt he has
already run into and solved this anomaly (or we would all have nightmares
with installation on different versions of Windows)
Steve Bywaters
2 Attachment(s)
Re: Windows version detection
Steve,
> And the computer is still *actually* running XP - so it is lying.
Because the user requested it to lie!<g>
The very simple CLW/PRJ attached will give the different results when
the compatibility is changed.
--
Lee White
Enroll Today at http://CWaddons.com
Re: Windows version detection
I haven't tried it... but if somebody downloaded an installer, created a
shortcut for it, and set an emulation mode in the shortcut... I'd imagine
the installer would report wrong information.
Fortunately, that's not what users typically do.
My post was questioning what the user might have done to the shortcut for
your app once it had been installed.
Jane Fleming
Re: Windows version detection
Yes, you may be right in what the fearless user did.!
My point is that this is IMNSHO plain *wrong* - as I rather elegantly put it
<g>
>> Emulation != Actually-being-something
Steve Bywaters
Re: Windows version detection
au contraire...
emulation := actually being emulation.
Emulation exists so that software that checks what the OS version is and is
too stupid to recognize a later OS doesn't just refuse to run.
As Lee put it - by requesting emulation you're telling the sweet obedient OS
to lie to the app you're trying to run. What kind of a liar would it be if
the app could just call some API and circumvent this?????
Jane Fleming
Re: Windows version detection
> au contraire...
> emulation := actually being emulation.
Absolument pas, ma belle femme!
Using French don't make it so ... ;-)
> What kind of a liar would it be if the app could just call some API and
> circumvent this?????
Not as bad a liar as an API that actually reports an incorrect version!
How is one EVER to find out what O/s is really on the machine?
To me - a much bigger 'lie'
S.
BTW the call has been put in to the shop owner.... answer still to emerge.