hi...
can anyone help me, i don't get the meaning of the width specification of wsprintf. Till now I called it like


invoke wsprintf, addr buffer, S('%i'), eax


So I need a wsprintf call that writes a specific number of characters to the buffer, padding eax's value with prelocated '0's to the given width. But how can I give the width as argument? How does msdn mean to include the width as an unsigned integer value right behind %?
Dom
Posted on 2004-08-27 02:32:25 by Dom
use:



invoke wsprintf, addr buffer, S('%08i'), eax


for example
Posted on 2004-08-27 02:39:33 by japheth
thx for replying to this simple question
Posted on 2004-08-27 03:00:16 by Dom