i want to get the lenght of any string that is passed to my proc(its addr being passed)
thx
thx
Hi Qages
If pointer to string is in eax
invoke lstrlen,eax
Returns lenght of string in eax.
KetilO
If pointer to string is in eax
invoke lstrlen,eax
Returns lenght of string in eax.
KetilO
If you want to do it faster, use the algorith designed by Agner Fog that is in MASM32 or if you are after experimental stuff, have a look in the Algorithm forum for the string length debate.
Regards,
hutch@movsd.com
Regards,
hutch@movsd.com