On Thu, 19 Feb 2015 12:44:24 +0200 FreeMan <[email protected]> wrote:
> > On 19.02.2015 11:44, Mattias Gaertner wrote: > > >> this is my code: this code work normal without ut8 params > > Is this an LCL application? > I'm not clearly understand lcl application mean. its GUI application, > not just console. I assumed so. I just wanted to make sure. > >> const > >> WIN_EXE: String = 'MZ'; > >> LINUX_EXE: String = #127 + 'ELF'; > > What is string? AnsiString? > I was founded in the internet, I benefit this code > http://lists.lazarus.freepascal.org/pipermail/lazarus/2013-November/084198.html > follow function AnyProgramVersion(const sProgram: string;... The unit seems to only support Windows and Linux. What do you expect under OS X? Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
