Mostrar version BCC en Error.log

Mostrar version BCC en Error.log

Postby Compuin » Sat Dec 24, 2016 3:30 pm

Hola

Como logro mostrar en el error.log la version de BCC que utilizo pra compilar? Se podra modificar para incluirla ?

Hasta ahora solo me muestra esto

Application
===========
Path and name: C:\PME\main.exe (32 bits)
Size: 2,867,712 bytes
Compiler version: Harbour 3.2.0dev (r1506171039)
FiveWin Version: FWH 13.11
Windows version: 6.1, Build 7600

Time from start: 0 hours 0 mins 3 secs
Error occurred at: 04/08/2016, 21:04:38
Error description: Error BASE/1004 No exported method: AARRAYDATA
Args:
[ 1] = U

Gracias de antemano
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Re: Mostrar version BCC en Error.log

Postby Sistem » Sat Dec 24, 2016 11:09 pm

hola

alert(hb_compiler())

in:
FWH\source\function\errsysw.prg

search for: FWVERSION
cErrorLog += " Compiler version: " + Version() + CRLF
cErrorLog += " FiveWin Version: " + FWVERSION + CRLF

add
cErrorLog += " bcc version: " + hb_compiler() + CRLF


I hope it helps you in your researches!

[]s
FWH2008 | xHarbour | BCC74 | SQLRDD
User avatar
Sistem
 
Posts: 226
Joined: Sun May 13, 2012 7:52 am

Re: Mostrar version BCC en Error.log

Postby Antonio Linares » Sun Dec 25, 2016 7:32 am

Implementado así para la próxima versión de FWH:

cErrorLog += " C compiler version: " + hb_Compiler() + CRLF

gracias
regards, saludos

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

Re: Mostrar version BCC en Error.log

Postby Compuin » Sun Dec 25, 2016 2:24 pm

Gracias a todos
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 34 guests