LStrCmp: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (→Description) |
m (proper download link) |
||
Line 28: | Line 28: | ||
== Download == | == Download == | ||
< | <attach>LStrCmp.zip</attach> | ||
[[Category:String Functions]] | [[Category:String Functions]] |
Revision as of 17:52, 13 December 2005
Author: Afrow UK (talk, contrib) |
Description
Calls kernel32::LStrCmp API to compare two strings case sensitively. NSIS's StrCmp does not compare strings case sensitively.
Requires: System.dll
Usage
${LStrCmp} str1 str2 jump_if_equal jump_if_not_equal
Usage 2
${LStrCmpVar} $R1 ; Temp var to be used by LStrCmp ($R0 used by default) ${LStrCmp} str1 str2 jump_if_equal jump_if_not_equal
Script header settings
!define SystemDLLPath "$EXEDIR\DLLs\System.dll" !include LStrCmp.nsh
Sets the path of System DLL to call (if you want to control where the DLL is put). This is completely optional.
Download
LStrCmp.zip (816 bytes)