<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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>
<br>
Only sections of loaded into memory image can be reached. Otherwise
use binutils objcopy.<br>
<br>
regards,<br>
Anton<br>
</body>
</html>