Al construir el exe:
- Code: Select all Expand view RUN
- Linking with MSVC 2019...
hbct.lib(dattime3.obj) : warning LNK4006: HB_FUN_SETDATE ya se definió en FiveH64.lib(XBRGETDT.obj); segunda definición omitida
wintpv_64.exe : warning LNK4088: la imagen se está generando debido a la opción /FORCE; quizá la imagen no se pueda ejecutar
* Application successfully built *
Pero al correr el mismo código que hasta ahora funcionaba bien:
- Code: Select all Expand view RUN
- setdate(day(NewDate),month(NewDate),year(NewDate))
Me arroja el error siguiente:
- Code: Select all Expand view RUN
- Application
===========
Path and name: c:\CLIWIN\FW\miprog_64.exe (64 bits)
Size: 6,333,952 bytes
Compiler version: Harbour 3.2.0dev (r2011030937)
FiveWin version: FWH 21.04
C compiler version: Microsoft Visual C 19.28.29335 (64-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 2 secs
Error occurred at: 29-06-21, 07:25:04
Error description: Error BASE/1092 Error de argumento: MIN
Args:
[ 1] = D 31-12-99
[ 2] = N 21
Stack Calls
===========
Called from: => MIN( 0 )
Called from: .\source\function\XBRGETDT.PRG => SETDATE( 0 )
Called from: wintpv.prg => (b)MENUPPAL( 984 )
Called from: .\source\classes\MENU.PRG => TMENU:COMMAND( 0 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:COMMAND( 0 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 0 )
Called from: => SYSREFRESH( 0 )