Search found 30 matches: getversion

Return to advanced search

Display Windows Version

... of Windows that the computer is using. I am testing this on a Windows 11 computer. If I use either OS() or Windows( ) I get Version 8. If I use GetVersion( ) and use the array values, I get Version 6.2. What I want to display is Windows 8, 10, or 11, depending on what is actually running on ...
by TimStone
Sat Jul 09, 2022 9:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Display Windows Version
Replies: 4
Views: 490

Re: bug cWinVersion() [still not fixed in 20.02]

Antonio, As to use Windows() function is mandatory to use a new manifest file, in this case GetVersion() correctly returns the value 10 for Windows 10. Here is the fix for cWinVersion() too. This code is dual, for old manifest and new manifest files: #define VER_PLATFORM_WIN32s ...
by MOISES
Wed Apr 29, 2020 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug cWinVersion() [fixed in 20.04]
Replies: 17
Views: 1911

Re: bug cWinVersion()

Moises,

Please run this code and let us know your results on Windows 2008 Server:

local a := GetVersion()

MsgInfo( a[ 1 ] )
MsgInfo( a[ 2 ] )
MsgInfo( a[ 3 ] )
MsgInfo( a[ 4 ] )

thank you
by Antonio Linares
Mon Dec 30, 2019 11:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug cWinVersion() [fixed in 20.04]
Replies: 17
Views: 1911

Re: Update for cWinversion()

Hi to all, the function cWinVersion() fails with Windows Server series ( Windows Server 2003, 2003 R2, 2008, 2008 R2, 2012, 2012 R2, 2016). The GetVersion() function return only data from struct OSVERSIONINFO, but the information of Server series are stored in OSVERSIONINFOEX. If you change the ...
by Patrizio
Wed Nov 29, 2017 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Update for cWinversion()
Replies: 5
Views: 1629

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6332

How detect windows 10 ?

HI,

Anyone can help me to detect if running with Windows10 ?

The function ver:=GetVersion()

ver[1] 6
ver[2] 2

It is egual to Windos 8.1 ? (or not)

Any help

tks
by Romeo
Wed Aug 26, 2015 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How detect windows 10 ?
Replies: 2
Views: 440

Re: Windows 10 version

Richard, I just tested it on Windows 10 and cWinVersion() is not working fine for Windows 10. cWinversion() is based on Windows API GetVersion() and these are the results that I get for GetVersion() https://bitbucket.org/fivetech/screenshots/downloads/getversion.JPG This is the ...
by Antonio Linares
Mon Jun 08, 2015 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 10 version
Replies: 12
Views: 1752

GetVersion() problem

Hi,

i am tring the Prerelease of Windows 9/10.

I have tested the GetVersion() function and it gives me a different number of version

Example:
using CMD and typing VER i get Version 6.4.9841

But using GetVersion undet windows 9/10 i get [1]=6 and [2]=2

Any solution ?

FWH80

Tks
Romeo
by Romeo
Tue Nov 25, 2014 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetVersion() problem
Replies: 0
Views: 264

Re: VERSION DE WINDOWS

Luis, function GetVersion() --> { nMajorVersion, nMinorVersion, nBuildNumber, nPlatformId, cCSDVersion } http://wiki.fivetechsoft.com/doku.php?id=fivewin_function_getversion function cWinVersion() --> cWindowsVersion ...
by Antonio Linares
Tue May 01, 2012 5:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: VERSION DE WINDOWS
Replies: 3
Views: 670

Re: Se necesita ayuda en el wiki !

... GetSysDir() GetSysFont() GetSysMetrics() GetSystemMenu() GetTasks() GetTextAlign() GetTextColor() GetTextHeight() GetTextWidth() GetTickCount() GetVersion() GetWinDir() GetWindowWord() GetWinFlags() GetWinTxtLength() GetWndApp() GetWndFrame() GetWndRect() GetWndTask() GlobalAddAtom() GlobalAlloc() ...
by Cgallegoa
Sun Feb 21, 2010 10:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5502

Re: Erro com 9.07

Rossine, Parece que se está enlazando una función GetVersion() que no es la de FWH y al no devolver un array, como se espera, se genera un error. Y el gestor de errores vuelve a usar GetVersion() y por eso se produce un error recursivo. Prueba a añadir ...
by Antonio Linares
Sat Aug 15, 2009 5:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Erro com 9.07
Replies: 28
Views: 9136

Re: OSVersion

Arturo,

GetVersion() es el que devuelve un array con 4 elementos, con la información completa.
by Antonio Linares
Mon Aug 03, 2009 10:20 pm
 
Forum: FiveWin para Pocket PC
Topic: OSVersion
Replies: 3
Views: 701

Re: Drawing PNG from Resources !!!

Hello Lailton, The H - File ( for Freeimage-Version : 3.12.0 ) April 14th, 2009 - 3.12.0 ! FreeImage now uses libPNG 1.2.35 ! FreeImage now uses libTIFF 3.9.0beta (CVS patch 2009-02-12) ! FreeImage now uses OpenJPEG 1.3.0 (SVN patch 2008-08-21) ! [Herve Drolon] FreeImage_CloneMetadata no longer clon...
by ukoenig
Sat May 16, 2009 8:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing PNG from Resources !!!
Replies: 7
Views: 7118

Antonio, Problema HB para fwppc

Hola Antonio, Tengo las versiones siguientes: Harbour_ce - Harbour Compiler Alpha Build 46.2 (flex) FWPPC - Getversion() me devuelve 4.21.1088 Ese HB tenía un msginfo puesto al salir de la aplicación cuando perdía bloques de memoria, me lo enviastes así para solucionar los problemas ...
by jmartial
Wed Apr 15, 2009 4:16 pm
 
Forum: FiveWin para Pocket PC
Topic: Antonio, Problema HB para fwppc
Replies: 3
Views: 561

version de FWH

Buenas tardes,

¿Hay alguna función que me permita visualizar la versión de FWH con la que fuera creado el EXE?, sería algo así como GetVersion() pero para conocer la del FWH.

Gracias.

Rolando :D
by rolando
Sun Mar 01, 2009 7:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: version de FWH
Replies: 2
Views: 434
Next

Return to advanced search