Author Topic: unable to compile hfs  (Read 1861 times)

0 Members and 1 Guest are viewing this topic.

Offline ledufe

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

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: 12903
    • View Profile
Re: unable to compile hfs
« Reply #1 on: July 15, 2007, 12:46:38 PM »
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
Re: unable to compile hfs
« Reply #2 on: July 15, 2007, 01:00:08 PM »
very cool, now it works!!!
thanks rejetto...
i will study it here....
<<LeDuFe>>