> 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. > > If you wan to add a variable to current process, please look here: http://sourceforge.net/p/cqrlog/code/HEAD/tree/branches/cqrlog_0.9/cqrlog.lpr and look at setenv(PChar('FIREBIRD'),PChar(ExtractFilePath(Application.Exename)),1);
But you have to do that first, before all is incialized. Petr
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
