asking for help on how to compare 2 strings.
one string can either be from the .data section i.e. myString db "TheString",0
or from a string resource file.
the other string comes from an edit control box.
one string can either be from the .data section i.e. myString db "TheString",0
or from a string resource file.
the other string comes from an edit control box.
API: lstrcmp
i will try that. thanks
;// snippet
invoke lstrcmp,addr buffer, addr myString
;//if a match, lstrcmp returns a zero
.if eax == 0
;//do whatever
.else
;//do whatever
.endif
check below for full example using masm32
invoke lstrcmp,addr buffer, addr myString
;//if a match, lstrcmp returns a zero
.if eax == 0
;//do whatever
.else
;//do whatever
.endif
check below for full example using masm32