how dectect VISTA ?

how dectect VISTA ?

Postby Romeo » Wed Sep 19, 2007 9:37 am

How detect if the pr
ogram is running under VISTA ?


Romeo
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Postby Antonio Linares » Wed Sep 19, 2007 10:01 am

Romeo,

function IsVista()

return GetVersion()[ 1 ] == 6
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Romeo » 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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Postby Antonio Linares » Wed Sep 19, 2007 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Romeo » Thu Sep 20, 2007 9:42 am

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

Tks
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Postby Patrick Mast » Fri Sep 21, 2007 8: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
User avatar
Patrick Mast
 
Posts: 246
Joined: Sat Mar 03, 2007 8:42 pm

Postby Antonio Linares » Fri Sep 21, 2007 8:40 am

32 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Patrick Mast » Fri Sep 21, 2007 9:39 am

Antonio Linares wrote:32 :-)

Damned new Apple keyboard.. :oops:

:P
User avatar
Patrick Mast
 
Posts: 246
Joined: Sat Mar 03, 2007 8:42 pm

Apple

Postby TimStone » Fri Sep 21, 2007 5: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests