Guys:
Is there a compatible function on Harbour like xharbour's ? Thank you very much.
Is there a compatible function on Harbour like xharbour's
SET ERRORLOG TO <filename> [ADDITIVE]SET ERRORLOG TO <filename> [ADDITIVE]Karinha:
Thank you for your solution but the problem is that I'm trying to implement this on a console/text app. The FiveWin libs are not available. Any other suggestion ? Thank you my friend. Obrigado !
xhb_ErrorLog( cErrorLog, lErrorLogAppend )
Error: Unresolved external '_HB_FUN_XHB_ERRORLOG' referenced from C:\KEYTEST\KEYTEST.OBJ
* Linking errors *Hi Mel,
> I'm into the compiling phase and found three compiling errors
> between xHarbour and Harbour:
>
> 1. The REGEX command 'LIKE' had to be changed -- did that, works
> now
>
> 2. The command 'SET ERRORLOG TO "c:\myerrorlog.txt" 'command is
> (somehow) wrong ??
Replace with:
xhb_errorlog( "c:\myerrorlog.txt" )
Requires Harbour r16717
> 3. The AT Command (3 args) in xHarbour: nPOS :=
> at("DEF","ABCDEFGHIXYZ",nOLDPOS) is wrong ??
For the rest, add '#include "xhb.ch"' to your sources
and 'xhb.hbc' to your hbmk2 cmdline.
Viktor
HunterEC wrote:HMPAQUITO:
Thank you for your reply. When I compiled with FW 15.03's BUILDX.BAT the linker pops up:
Error: Unresolved external '_HB_FUN_XHB_ERRORLOG' referenced from C:\KEYTEST\KEYTEST.OBJ * Linking errors *
Any other option ? Thank you very much !
xhb_errorlog( "TEST.LOG" )
? N + OGustavo,
It was good, thanks ![]()
You can easily set your error manager this way:
ErrorBlock( { | oError | MyErrorHandler( oError ) } )
function MyErrorHandler( oError ) is a function of your own where you can copy the parts of
FWH c:\fwteam\source\function\errsysw.prg that you want to use
ALTD(1)โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ย Error BASE/1004 ย No exported method: DISPLAY ย โ
โ ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย โ
โ ย ย ย ย ย ย ย ย ย ย ย Quit ย ย ย ย ย ย ย ย ย ย ย โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ