[Lazarus] Program version

Anton Kavalenka anton.k at tut.by
Wed Nov 6 15:46:24 CET 2013


On 06.11.2013 17:39, Antonio Fortuny wrote:
>
> Le 06/11/2013 14:41, Anton Kavalenka a écrit :
>> The unit versionresource is part of package fcl-res
> I already use it for Linux with a Linux executable file
>>
>> Unit allow x-platform version resource extraction and parsing.
>> rsrc:=TVersionResource.Create;
>> Stream := TResourceStream.CreateFromID(*hMod*, 1, PChar(RT_VERSION));
> What's *hMod *stands for ? Looks like a pointer of so (PtrUint)
Handle of EXE (hInstance) or .SO hMod:=Loadlibrary(dll_name);

Only sections of loaded into memory image can be reached. Otherwise use 
binutils objcopy.

regards,
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131106/9e26978f/attachment-0003.html>


More information about the Lazarus mailing list