Check out the Kernel32 function 'lstrcmp' . You have to give it 2 Buffers and it will compare them 1 to each other.

invoke lstrcmp, addr buffer1, addr buffer 2

But take care "JimmyClif" != "JimmyClif " So if your User types in a serial with an extra space at the end, even tho that the answer is correct the call will say that they are not equal.
Posted on 2002-11-03 14:01:24 by JimmyClif
okay yea got it working. thanks alot guys.
Posted on 2002-11-03 15:38:15 by resistance_is_futile
Hint: try using "addr" in place of "offset" in regards to using INVOKE.

Invoke isn't a real cpu instruction.
Really we have a number of PUSH instructions followed by a CALL instruction !!
MASM generates them for you automagically when you use invoke.
When you are comfortable with using ADDR inside invokes, you might want to look at your code in a disassembler and see what the heck I'm trying to tell you there.
Posted on 2002-11-07 00:50:11 by Homer

You need:

invoke ExitProcess, 0

before end start.

I need just call ExitProcess
0 is exit code in your call - I don't need any exit code specified.
Posted on 2002-11-08 15:05:56 by The Svin
hmm thats strange.. I only use offset instead of addr and it wokrs perfect every time...
Posted on 2002-11-08 18:44:03 by resistance_is_futile