rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: Just4U on July 02, 2007, 06:36:35 AM

Title: Problem with running HFS V2.1d source code in Delphi 7 ???
Post by: Just4U on July 02, 2007, 06:36:35 AM
Dear all,
  i use Delphi 7 to open the HFS V2.1d source project and run it. there's no problem with comiling this project since i have already installed all needed units. i also can see the main window appearing with no problem. but when i click the button "Open in Browser", Delphi 7 reports exception like below:

Project hfs.exe raised exception class EConvertError with message ''' is not a valid integer value'. Process stopped. Use Step or Run to continue

and, the error part is in SysUtils unit of Delphi 7, like below:

procedure ConvertErrorFmt(ResString: PResStringRec; const Args: array of const); local;
begin
  raise EConvertError.CreateResFmt(ResString, Args);
end;

i know there's some wrong convertion, but i don't know where the error is. please help!!!
Title: Re: Problem with running HFS V2.1d source code in Delphi 7 ???
Post by: rejetto on July 02, 2007, 10:56:57 AM
when the process stop, delphi places the editor on the point where the problem is
it's probably a format* function