<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<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>
<br>
Regards,<br>
Sven<br>
</body>
</html>