<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3AGetDllVersion_Command_Explained</id>
	<title>Talk:GetDllVersion Command Explained - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Talk%3AGetDllVersion_Command_Explained"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:GetDllVersion_Command_Explained&amp;action=history"/>
	<updated>2026-04-07T13:34:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:GetDllVersion_Command_Explained&amp;diff=12048&amp;oldid=prev</id>
		<title>65.90.206.254: GetDllVersionString (macro that wraps GetDllVersion)</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:GetDllVersion_Command_Explained&amp;diff=12048&amp;oldid=prev"/>
		<updated>2007-03-01T22:19:35Z</updated>

		<summary type="html">&lt;p&gt;GetDllVersionString (macro that wraps GetDllVersion)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here is a macro that does the string-assembly work -- my sense is that most people just want to get to the x.x.x.x format and don&amp;#039;t care about the individual dwords.  Tell me what you think; if you like it feel free to post it to the main page...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
;	GetDllVersionString&lt;br /&gt;
;		Uses GetDllVersion to return just the x.x.x.x formatted string.&lt;br /&gt;
;&lt;br /&gt;
;	Usage:&lt;br /&gt;
;		${GetDllVersionString} &amp;quot;someFile.exe&amp;quot; $someReturnVar&lt;br /&gt;
&lt;br /&gt;
!define GetDllVersionString &amp;quot;!insertmacro GetDllVersionString&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
!macro GetDllVersionString FilePathName ReturnString&lt;br /&gt;
	GetDllVersion ${FilePathName} $R0 $R1&lt;br /&gt;
	IntOp $R2 $R0 / 0x00010000&lt;br /&gt;
	IntOp $R3 $R0 &amp;amp; 0x0000FFFF&lt;br /&gt;
	IntOp $R4 $R1 / 0x00010000&lt;br /&gt;
	IntOp $R5 $R1 &amp;amp; 0x0000FFFF&lt;br /&gt;
	StrCpy ${ReturnString} &amp;quot;$R2.$R3.$R4.$R5&amp;quot;&lt;br /&gt;
!macroend&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;/div&gt;</summary>
		<author><name>65.90.206.254</name></author>
	</entry>
</feed>