rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: Darvin on May 27, 2009, 05:58:38 PM

Title: Unable to compile the sources. (Delphi 7)
Post by: Darvin on May 27, 2009, 05:58:38 PM
Source: hfs-last-beta-src.zip

I got 2 problems:

Error: defs.inc[11]  invalid compiler directive INLINE
Fatal error: hfs.dpr[48] : file not found ftmExceptionForm.dcu

what can i do?

thanks in advance:

darvin@reduc.edu.cu
Title: Re: Unable to compile the sources. (Delphi 7)
Post by: Mars on May 27, 2009, 08:03:43 PM
comment the lines in hfs.dpr

uses
  FastMM4,
{$IFDEF EX_DEBUG}
//  ftmExceptionForm,
{$ENDIF}


// {$IFDEF EX_DEBUG}initErrorHandler(format('HFS %s (%s)', [VERSION, VERSION_BUILD]));{$ENDIF}
  Application.Initialize();
  Application.CreateForm(TmainFrm, mainFrm);
  Application.CreateForm(TnewuserpassFrm, newuserpassFrm);
  Application.CreateForm(ToptionsFrm, optionsFrm);
  Application.CreateForm(TdiffFrm, diffFrm);
  Application.CreateForm(TipsEverFrm, ipsEverFrm);
  Application.CreateForm(TrunScriptFrm, runScriptFrm);
  mainfrm.finalInit();
  Application.Run;
//  {$IFDEF EX_DEBUG}closeErrorHandler();{$ENDIF}
end.

Title: Re: Unable to compile the sources. (Delphi 7)
Post by: rejetto on May 28, 2009, 12:07:02 AM
1. you can remove the inline directive
2. remove the "!" from file defs.inc
Title: Re: Unable to compile the sources. (Delphi 7)
Post by: darvin on May 28, 2009, 08:19:30 PM
   
The two problems solved.  ;D

Now I get another error. :(  [Fatal Error] HSLib [32]. File not found 'wsocket.dcu.

I downloaded OverbyteIcsV7_Alpha1.zip from http://www.overbyte.be
I gave him the path in the project options and the error remains.


sorry my bat english.
Title: Re: Unable to compile the sources. (Delphi 7)
Post by: Mars on May 28, 2009, 08:33:44 PM
Until you find the good solution, here is some dcu files corresponding to wsockets.