Jump to content

jackfang0220

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by jackfang0220

  1. Hi Sir:

     

    This is what I changed in dpr file : 

     

    program jtest1;
     
    uses
      Forms,
      ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule},
      MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule},
      Main in 'Main.pas' {MainForm: TUniForm};
     
    {$R *.res}
     
    begin
      Application.Initialize;
      Application.MainFormOnTaskbar := True;
      Application.CreateForm( TMainForm, MainForm);
      Application.Run;
    end.

     

    But the erro says : 

    [dcc32 Error] jtest1.dpr(16): E2197 Constant object cannot be passed as var parameter

     

    Please help , Thank you very much.

×
×
  • Create New...