----------------------------------- NEW VERSION 11/06/2017 ----------------------------
Minor bugs fixed
https://bitbucket.org/fivetech/fivewin- ... ivedit.exe
#include "Fivewin.ch"
Function Main()
local oRef
local cFileName := "Hola.prg"
oRef := HBFormatCode():New( hb_aParams(), hb_FNameMerge( hb_DirBase(), "hbformat.ini" ) )
IF oRef:nErr > 0
? "Initialization error", hb_ntos( oRef:nErr ), iif( oRef:nLineErr == 0, "in parameter", "on line " + hb_ntos( oRef:nLineErr ) ), ":", oRef:cLineErr
RETURN nil
ENDIF
Reformat( oRef, cFileName )
Return nil
//----------------------------------------------------------------------------//
Function ReFormat( oRef, cFileName )
local aFile
IF ! Empty( aFile := oRef:File2Array( cFileName ) )
if oRef:Reformat( aFile )
XBrowse( aFile )
? oRef:Array2Source( aFile )
? oRef:cExtSave
? oRef:Array2File( cFileName, aFile ) //
// mi fichero ini contiene la entrada
// cExtSave = FMT
// por eso leo este fichero
? MemoRead( hb_FNameMerge( hb_DirBase(), "Hola.FMT" ) )
endif
ELSE
? cFileName + " isn't found ..."
ENDIF
Return nil
//----------------------------------------------------------------------------//
Fwdbg.dll not found, imposible to continue
Application
===========
Path and name: C:\dlymado.1\fivedit53\fivedit.exe (32 bits)
Size: 6,522,368 bytes
Compiler version: Harbour 3.2.0dev (r1603301435)
FiveWin version: FWH 17.04
C compiler version: Microsoft Visual C++ 19.0.23506 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 8 secs
Error occurred at: 20/06/2017, 11:32:13
Error description: Error BASE/1004 Message not found: TPANEL:NORDEN
Args:
[ 1] = O TPANEL
Stack Calls
===========
Called from: => __ERRRT_SBASE( 0 )
Called from: ../../../tobject.prg => TPANEL:ERROR( 0 )
Called from: ../../../tobject.prg => (b)HBOBJECT( 0 )
Called from: ../../../tobject.prg => TPANEL:MSGNOTFOUND( 0 )
Called from: ../../../tobject.prg => TPANEL:NORDEN( 0 )
Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:BUILDEDITOR( 1678 )
Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:OPENFILE( 6791 )
Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:OPENPROJECT( 7006 )
Called from: .\source\classes\TFIVEDIT.PRG => (b)TFIVEDIT_MENUPROJECT( 4599 )
Called from: .\source\classes\MENU.PRG => TMENU:COMMAND( 1378 )
Called from: .\source\classes\WINDOW.PRG => TFIVEDITWND:COMMAND( 1110 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: \FWH\FWHTEAM\SAMPLES\fivedit.prg => TFIVEDITWND:HANDLEEVENT( 3043 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3381 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TFIVEDITWND:ACTIVATE( 1066 )
Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:ACTIVATE( 742 )
Called from: \FWH\FWHTEAM\SAMPLES\fivedit.prg => MAIN( 144 )
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 23 guests