rejetto forum
Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: ledufe on July 15, 2007, 12:36:12 PM
-
im using the turbo delphi and i cant compile hfs yet
it give me a error about:
[Pascal Error] hfs.dpr(65): E2003 Undeclared identifier: 'initErrorHandler'
[Pascal Error] hfs.dpr(75): E2003 Undeclared identifier: 'closeErrorHandler'
and between these lines is this code
{$IFDEF EX_DEBUG}initErrorHandler('HFS '+main.VERSION);{$ENDIF}
Application.Initialize();
Application.CreateForm(TmainFrm, mainFrm);
Application.CreateForm(TnewuserpassFrm, newuserpassFrm);
Application.CreateForm(ToptionsFrm, optionsFrm);
Application.CreateForm(TshellExtFrm, shellExtFrm);
Application.CreateForm(TdiffFrm, diffFrm);
Application.CreateForm(TipsEverFrm, ipsEverFrm);
mainfrm.finalInit();
Application.Run;
{$IFDEF EX_DEBUG}closeErrorHandler();{$ENDIF}
somebody help...
using the sources HFS 2.2.106 + Borland® Delphi® for Microsoft® Windows™ Version 10.0.2288.42451 Update 2
-
open defs.inc and remove/disable the EX_DEBUG line
-
very cool, now it works!!!
thanks rejetto...
i will study it here....