Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Delphi] Declaration expected, identifier SlaveParams found

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
SickSixthSenses
Cheater
Reputation: 0

Joined: 25 Nov 2008
Posts: 46

PostPosted: Wed Nov 26, 2008 3:50 pm    Post subject: [Delphi] Declaration expected, identifier SlaveParams found Reply with quote

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);
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Thu Nov 27, 2008 12:50 am    Post subject: Reply with quote

Your code needs a 'begin' for that statement.

It's expecting the Delphi version of "include" statements, and you're giving it an assignment statement.

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites