FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Como saber la version del compilador C
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Como saber la version del compilador C
Posted: Tue Dec 03, 2013 08:19 PM

Hola foro,

Hay alguna forma de saber la versi贸n del compilador C++, especialmente si es BCC o MSVC? Algo similar a esto:

cXHBVersion:=VERSION() // Devuelve la versi贸n de (x)Harbour
cFWVersion:=FWVERSION // Devuelve la versi贸n de Fivewin
cCCVersion := ???

Gracias de antemano.

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Como saber la version del compilador C
Posted: Wed Dec 04, 2013 03:42 AM
HB_Compiler()
Retrieves the version of the C compiler shipped with xHarbour.
Syntax
HB_Compiler() --> cCompilerVersion

Return
The function returns a character string holding the name and version of the C compiler shipped with xHarbour.
Description
Function HB_Compiler() is used to retrieve information about the C compiler shipped with xHarbour. The C compiler is an integral part of xHarbour and produces OBJ files.
Info
See also: HB_BuildDate(), HB_BuildInfo(), HB_PCodeVer(), Os(), Os_VersionInfo()
Category: Environment functions , xHarbour extensions
Source: rtl\version.c
LIB: xhb.lib
DLL: xhbdll.dll


--------------------------------------------------------------------------------
Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Como saber la version del compilador C
Posted: Wed Dec 04, 2013 03:44 AM

funciona en harbour y xharbour, me parece que para que funcione en harbour se debe incluir xhb.lib y hbcompat.ch

salu2

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Re: Como saber la version del compilador C
Posted: Wed Dec 04, 2013 07:42 PM

Carlos,

Fant谩stico!!!! Muchisimas gracias por el dato. Ya funcion贸 perfectamente.

PS.: He a帽adido tu Skype pero veo que nunca estas online...

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Como saber la version del compilador C
Posted: Wed Dec 04, 2013 07:59 PM

sip, skype se ha convertido en un mostro devora recursos y mi laptop no esta muy comoda con el instalado,
por ello estoy mas accesible por gmail
karlos.vargas at gmail.com

salu2
carlos vargas

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)

Continue the discussion