<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If TProcess can get extra parameter, why not add to current process? but I think this is compiler site problem, get variable function is there but there is no get functions.</blockquote></span></blockquote><div><br></div><div>If you wan to add a variable to current process, please look here: <a href="http://sourceforge.net/p/cqrlog/code/HEAD/tree/branches/cqrlog_0.9/cqrlog.lpr">http://sourceforge.net/p/cqrlog/code/HEAD/tree/branches/cqrlog_0.9/cqrlog.lpr</a> and look at <span style="color:rgb(85,85,85);font-family:monospace,sans-serif;font-size:13px;line-height:18px">setenv(PChar('FIREBIRD'),PChar(ExtractFilePath(Application.Exename)),1);</span></div><div><br></div><div>But you have to do that first, before all is incialized. </div><div><br></div><div>Petr </div></div></div></div>