[Lazarus] Program version

Antonio Fortuny a.fortuny at sitasoftware.lu
Wed Nov 6 16:03:27 CET 2013


Le 06/11/2013 15:52, Sven Barth a écrit :
> Am 06.11.2013 15:46, schrieb Anton Kavalenka:
>> 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);
> Which is not what Antonio needs, because he wants to access a PE 
> executable on Linux and an ELF executable on Windows.
Right Sven. It is a beginning anyway. Read my next post in a couple of 
minutes
Antonio;

>
> Regards,
> Sven
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-- 
Sita Software
*Antonio Fortuny*
Senior Software engineer

220, avenue de la Liberté
L-4602 Niederkorn
Tel.: +352 58 00 93 - 93
www.sitasoftware.lu <http://www.sitasoftware.lu>
Your IT Partner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131106/6e7336f1/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bjebbidi.jpg
Type: image/jpeg
Size: 2306 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131106/6e7336f1/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bejdeafd.jpg
Type: image/jpeg
Size: 921 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131106/6e7336f1/attachment-0007.jpg>


More information about the Lazarus mailing list