I have a PROCESSENTRY32 structure declared like this
local pe:PROCESSENTRY32
to get the address of the szExeFile member i'm using
lea eax, .
I'm trying to make this more readable I know when using invoke
addr can be used. My first thought was to use an assume but I
guese this wouldn't work here since the stack is growing downwards. This looks like there should be a realy obvious answer to this that I'm missing.
Posted on 2002-03-13 03:53:21 by Quantum
Hi Quantum

lea eax,pe.szExeFile

Should do the job.

KetilO
Posted on 2002-03-13 04:17:00 by KetilO
thanx KetilO that works great.
Posted on 2002-03-13 05:37:09 by Quantum