<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">Le 06/11/2013 15:52, Sven Barth a
écrit :<br>
</div>
<blockquote cite="mid:527A57BA.40005@googlemail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Am 06.11.2013 15:46, schrieb Anton
Kavalenka:<br>
</div>
<blockquote cite="mid:527A5640.7030909@tut.by" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 06.11.2013 17:39, Antonio
Fortuny wrote:<br>
</div>
<blockquote cite="mid:527A54B2.5040505@sitasoftware.lu"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<div class="moz-cite-prefix">Le 06/11/2013 14:41, Anton
Kavalenka a écrit :<br>
</div>
<blockquote cite="mid:527A46F3.6020600@tut.by" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<font face="Liberation Sans">The unit versionresource</font>
is part of package fcl-res <br>
</blockquote>
I already use it for Linux with a Linux executable file<br>
<blockquote cite="mid:527A46F3.6020600@tut.by" type="cite"> <br>
Unit allow x-platform version resource extraction and
parsing.<br>
rsrc:=TVersionResource.Create;<br>
Stream := TResourceStream.CreateFromID(<b><big>hMod</big></b>,
1, PChar(RT_VERSION));<br>
</blockquote>
What's <b><big>hMod </big></b>stands for ? Looks like a
pointer of so (PtrUint)<br>
</blockquote>
Handle of EXE (hInstance) or .SO hMod:=Loadlibrary(dll_name);<br>
</blockquote>
Which is not what Antonio needs, because he wants to access a PE
executable on Linux and an ELF executable on Windows. <br>
</blockquote>
Right Sven. It is a beginning anyway. Read my next post in a couple
of minutes<br>
Antonio;<br>
<br>
<blockquote cite="mid:527A57BA.40005@googlemail.com" type="cite"> <br>
Regards,<br>
Sven<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table
style="font-family:'Calibri','sans-serif';font-size:8.0pt;color:#002f87;border:0;width:auto;">
<tbody>
<tr>
<td style="vertical-align:bottom;padding:40px 20px
25px;border-top:1pt solid #BFBFBF;"> <img alt="Sita
Software"
src="cid:part1.00030604.04020306@sitasoftware.lu"> </td>
</tr>
<tr>
<td style="vertical-align: top; padding: 5px 20px 0;"> <b>Antonio
Fortuny</b><br>
Senior Software engineer<br>
<br>
220, avenue de la Liberté<br>
L-4602 Niederkorn<br>
Tel.: +352 58 00 93 - 93<br>
<a style="color:#002f87;cursor:pointer;text-decoration:
none;" href="http://www.sitasoftware.lu">www.sitasoftware.lu</a><br>
</td>
</tr>
<tr>
<td style="padding:20px 20px 30px;border-bottom: 1pt solid
#BFBFBF;" align="right"> <img alt="Your IT Partner"
src="cid:part3.08020303.06040704@sitasoftware.lu"> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>