SickSixthSenses Cheater
Reputation: 0
Joined: 25 Nov 2008 Posts: 46
|
Posted: Wed Nov 26, 2008 3:50 pm Post subject: [Delphi] Declaration expected, identifier SlaveParams found |
|
|
I'm trying to compile a program called HTTP File Server after changing the icon in order to disguise it as MS Intellipoint when it minimizes to the tray, but I keep getting this error:
Code: |
[Pascal Error] hfs.dpr(52): E2029 Declaration expected but identifier 'SlaveParams' found
|
Anyone know how to fix this? I've tried Google and searching CEF, but still come up with no definitive results.
Here's the source of the file with the error line:
Code: |
{$INCLUDE defs.inc }
program hfs;
uses
monoLib,
Forms,
windows,
types,
main in 'main.pas' {mainFrm},
editDlg in 'editDlg.pas' {editFrm},
newuserpassDlg in 'newuserpassDlg.pas' {newuserpassFrm},
optionsDlg in 'optionsDlg.pas' {optionsFrm},
utillib in 'utillib.pas',
longinputDlg in 'longinputDlg.pas' {longinputFrm},
folderKindDlg in 'folderKindDlg.pas' {folderKindFrm},
shellExtDlg in 'shellExtDlg.pas' {shellExtFrm},
diffDlg in 'diffDlg.pas' {diffFrm},
classesLib in 'classesLib.pas',
ipsEverDlg in 'ipsEverDlg.pas' {ipsEverFrm},
WSocket in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\WSocket.pas',
WSockBuf in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\WSockBuf.pas',
IcsLogger in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\IcsLogger.pas',
HttpProt in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\HttpProt.pas',
IcsNtlmMsgs in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\IcsNtlmMsgs.pas',
IcsDES in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\IcsDES.pas',
IcsMD4 in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\IcsMD4.pas',
MimeUtil in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\MimeUtil.pas',
HttpContCod in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\HttpContCod.pas',
IcsUrl in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\IcsUrl.pas',
IcsMD5 in '..\Delphi Libraries\OverbyteIcsV5\Delphi\Vc32\IcsMD5.pas',
RegExpr in '..\Delphi Libraries\regexpr\Source\RegExpr.pas';
SlaveParams:=processSlaveParams; //<--ERROR LINE
{$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}
end.
Application.CreateForm(TmainFrm, mainFrm);
Application.CreateForm(TnewuserpassFrm, newuserpassFrm);
Application.CreateForm(ToptionsFrm, optionsFrm);
Application.CreateForm(TshellExtFrm, shellExtFrm);
Application.CreateForm(TdiffFrm, diffFrm);
Application.CreateForm(TipsEverFrm, ipsEverFrm);
|
|
|