Hey guys!!

  I'm learning ASM, and i use TASM 5.0, but i've dificulties to get te struct size of PROCESSENTRY32, for use in Process32First API.
  i want to enumerate proceses and get his PID's...
  Anyone can explain me, or pass me an code?

thankz
Posted on 2006-01-21 11:57:28 by sysbreaker
Switch to masm, fasm, goasm, poasm... :)
Posted on 2006-01-21 12:37:48 by f0dder
Switch to masm, fasm, goasm, poasm... Smile

:D
And after do that ,you can use my example:
Posted on 2006-01-21 12:48:38 by shaka_zulu
get te struct size of PROCESSENTRY32

mov eax, size PROCESSENTRY32

assuming that the structure has been declared.

or if you have it defined:

data:
blah PROCESSENTRY32 ?

code:
mov eax, size blah


it good not to start with TASM, because there is little or no support for it, so if cases of trouble almost no one will be able to help you.
Posted on 2006-01-21 13:10:34 by ti_mo_n
thankz to all!!!  :D
Posted on 2006-01-21 20:11:35 by sysbreaker