FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how dectect VISTA ?
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
how dectect VISTA ?
Posted: Wed Sep 19, 2007 09:37 AM

How detect if the pr
ogram is running under VISTA ?

Romeo

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
how dectect VISTA ?
Posted: Wed Sep 19, 2007 10:01 AM

Romeo,

function IsVista()

return GetVersion()[ 1 ] == 6

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
how dectect VISTA ?
Posted: Wed Sep 19, 2007 10:37 AM

it works with fwh24 but not works with fw24.

with w95,xp,vista using fw24 it says always :

getversion[1] = 3
getversion[2] = 95

if i use fwh24 all is ok !

Any patch for 16bit version of my fw24 ?
tks

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
how dectect VISTA ?
Posted: Wed Sep 19, 2007 06:07 PM

Romeo,

As FW is 16 bits, it could be that the required Windows version returns a different value

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
how dectect VISTA ?
Posted: Thu Sep 20, 2007 09:42 AM

So no solution for 16 bit ?
Is not possible,simply, read same key of windows registry to get the windows version ?

Tks

Posts: 246
Joined: Sat Mar 03, 2007 08:42 PM
how dectect VISTA ?
Posted: Fri Sep 21, 2007 08:31 AM
Romeo wrote:So no solution for 16 bit ?
Is not possible,simply, read same key of windows registry to get the windows version ?

Time to move to 23 bits Romeo! :-)

Patrick
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
how dectect VISTA ?
Posted: Fri Sep 21, 2007 08:40 AM

32 :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 246
Joined: Sat Mar 03, 2007 08:42 PM
how dectect VISTA ?
Posted: Fri Sep 21, 2007 09:39 AM
Antonio Linares wrote:32 :-)

Damned new Apple keyboard.. :-)

:-)
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Apple
Posted: Fri Sep 21, 2007 05:36 PM

Apple ? Then 23 bit would be correct .... :roll:

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion