Otherwise, if you use some sort of dynamic method of inserting the shellcode into memory (like placing the shellcode in the extra memory area that all windows have) - you can scan the memory to find the location of your shellcode and use that address.