Thank you Mattias
I found a few minutes ago this link,
http://wiki.lazarus.freepascal.org/Show_Application_Title,_Version,_and_Company
and test finished in osx a few second ago. All works fine for me. I'm
not test on linux and win, maybe later I can test in crosscompile. This
is impotent for me.
But this topic still countinue about
wFileStr.Read(ar, 4);
maybe has a bug here. Different then my problem.
On 19.02.2015 14:10, Mattias Gaertner wrote:
>I need get application version infos, and others,
>........
> VR : TVersionResource;
> FV : TFileVersionInfo;
>.....
> VR.FixedInfo.FileVersion[0];
> FV.VersionStrings.Values['CompanyName'];
>FV.VersionStrings.Values['InternalName'];
>etc.
Extend the unit with the TMachOResourceReader.
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus