flat assembler
Message board for the users of flat assembler.
Index
> Windows > Reserved Byte to DWord |
Author |
|
cod3b453 01 May 2010, 08:21
You need to convert the string "1235" to a proper number using something like StrToInt (http://msdn.microsoft.com/en-us/library/bb773446(VS.85).aspx)
Code: invoke StrToInt,recvBuf+6 ; points to "1235" invoke OpenProcess,PROCESS_TERMINATE,FALSE,eax or eax,eax ; check if eax=NULL jz @f push eax ; this is for the CloseHandle call invoke TerminateProcess,eax,0 invoke CloseHandle @@: |
|||
01 May 2010, 08:21 |
|
Nameless 01 May 2010, 10:01
worked very good
thanks i had to add StrToInt to win32ax.inc manually, cause im using it and cant redeclare imported data outside it if it happens that u have a solution for this would be great thanks again, that really helped |
|||
01 May 2010, 10:01 |
|
baldr 01 May 2010, 10:21
Nameless wrote: i had to add StrToInt to win32ax.inc manually, cause im using it and cant redeclare imported data outside it |
|||
01 May 2010, 10:21 |
|
Nameless 02 May 2010, 02:52
thats exactly what i was looking for
thanks man |
|||
02 May 2010, 02:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.