rejetto forum

unable to compile hfs

ledufe · 3 · 7078

0 Members and 2 Guests are viewing this topic.

Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
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

Code: [Select]
{$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
« Last Edit: July 15, 2007, 12:39:55 PM by ledufe »
<<LeDuFe>>


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
open defs.inc and remove/disable the EX_DEBUG line


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
very cool, now it works!!!
thanks rejetto...
i will study it here....
<<LeDuFe>>