procedure MaiaMain;

Help
sycomore
2008-10-10
2013-03-26
  • sycomore

    sycomore - 2008-10-10

    in the unit maiacontrolprocs,
    in procedure MaiaMain,
       
      for I := 1 to ParamCount do
        begin
          if Length(ParamStr(I)) < 5 then Continue;
          if LowerCase(ParamStr(I)) = '/child_process' then ProcessType := pt_Child;
          if LowerCase(ParamStr(I)) = '/service_process' then ProcessType := pt_Service;
        end;

    i never pass through the boucle for...to...do !!??

    ParamCount is not defined!!!

    is it normal?

     
    • Keneto

      Keneto - 2008-10-10

      This is not for you. Maia uses this.

      Maia runs twice. One that you open and a second one that Maia runs (with parameters) as a child process.

      The child_process does all the work of transferring mail. It will be killed by the parent when it runs too long and a new one started.

      When you execute Maia, the parent process you create will always have no parameters.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks