Hi... My question is how do I push a null terminated string (to use windows API functions) to the stack? For example, if I want to push "hello" i would use push 68656c6c6f right? What if i wanted "hello" to be a null-terminated string?
I belive that you want to push the 32bit address of the string, not the string itself. Most (if not all) Windows API function recieve strings as pointers.
90% of all questions can be answer by the Help file! Try it and be amazed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.