Boa tarde!
Tem com eu saber qual o embarcadeiro utilizado na compilação, o comando version() não traz!
Frazato
Como saber a versão embarcadeiro utilizado
Moderador: Moderadores
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Como saber a versão embarcadeiro utilizado
Código: Selecionar todos
#include "hbgtinfo.ch"
#include "hbmemory.ch"
FUNCTION pInfoJPA()
LOCAL cText := "", cExeName, nThreads := 0
cExeName := Upper( hb_FNameName( hb_ProgName() ) ) + ".EXE"
cText += cExeName + ": " + AppVersaoExe() + hb_eol()
cText += "Base de Dados: " + Transform( Str( AppVersaoSQL() * 100, 10 ), "@R 9999.99.99.99" ) + hb_eol()
cText += "Hardware: " + DriveSerial() + hb_eol()
cText += Version() + hb_eol()
cText += HB_Compiler() + hb_eol()
cText += "Available Memory: " + LTrim( Transform( Memory(0) / 1000, "999,999" ) ) + " MB" + hb_eol()
cText += "Window Size (Row/Col): " + LTrim( Str( MaxRow() + 1 ) ) + " x " + LTrim( Str( MaxCol() + 1 ) ) + hb_eol()
cText += "Window Size (Pixels): " + Ltrim( Str( hb_gtInfo( HB_GTI_SCREENWIDTH ) ) ) + " x " + ;
Ltrim( Str( hb_gtInfo( HB_GTI_SCREENHEIGHT ) ) ) + hb_Eol()
IF HB_GtInfo( HB_GTI_FONTNAME ) != NIL
cText += "Font Name: " + HB_GTINFO( HB_GTI_FONTNAME ) + hb_eol()
cText += "Font Size: " + LTrim(Str( HB_GTINFO( HB_GTI_FONTSIZE ) ) ) + " x " + LTrim( Str( HB_GTINFO( HB_GTI_FONTWIDTH ) ) ) + " x " + LTrim( Str( HB_GTINFO( HB_GTI_FONTWEIGHT ) ) ) + hb_eol()
ENDIF
cText += "Temp Path: " + AppTempPath() + hb_eol()
cText += "Terminal Server Client: " + iif( win_OsIsTsClient(), "Yes", "No" ) + hb_eol()
__vmCountThreads( @nThreads, 0 )
cText += "Threads running " + Ltrim( Str( nThreads, 10 ) ) + hb_Eol()
cText += "GT: " + hb_gtInfo( HB_GTI_VERSION ) + hb_Eol()
cText += "OS: " + iif( hb_osIs64bit(), "64", "32" ) + " bits" + hb_Eol()
MsgExclamation( cText )
RETURN NIL
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
