Hello Rob, > Don't count on it > Use ParamStr(0), just like you would in any other context.
You are right. Already changed to GetModuleFilename as Francois suggested. I see ParamStr(0) use same. --- Rgds, Wilfried http://www.mestdagh.biz __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk