On Friday 04 October 2013 12:28:53 Ivanko B wrote:
> > /utils/dmprint.pas:197 -> print_ph:= execmse2(print_cmd);
>
> The former version differs from getting "print_ph" used in the other
> condition branch.
>
> //////////////////////////////////////////
>   if usegui then begin // if(2)
>
> //   print_ph:= execmse2(print_cmd,nil,nil,nil,false,-1,false);
>      print_ph:= execmse2(print_cmd);
>
>    activateprocesswindow(print_ph);
>     waitforprocess(print_ph); // GUI не автозавершается
>    result:= 0; // GUI всегда ОК
>   end else begin
>    print_ph:= execmse2(print_cmd);
>    getprocessexitcode(print_ph,result,atimeout*1000000);
>   end;
>  end else
>   result:= 99; // no command to print
> //////////////////////////////////////////
>
> Any consequences expected ?

Use execmse2(print_cmd,nil,nil,nil,-1,[exo_inactive]).

Martin

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to