About the ESP0 field...
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Yeah, I realized that... Mainly when I also realized that the return address is meant to be before the arguments, and the arguments are pushed in reverse... Oops.
Now I have arguments working, I just put into my createthread function a va_list that goes through each argument and pushes them (via a printf-style format string).
Now I have arguments working, I just put into my createthread function a va_list that goes through each argument and pushes them (via a printf-style format string).