From: Richard Russell on
CreateRemoteThread is returning Access Denied when run under 64-bit
Windows 7, but works without error when the identical (32-bit)
binaries are run under 32-bit Windows 7.

I should emphasise that this isn't a case of a 32-bit process trying
to create a thread in a 64-bit process, or vice versa. Both processes
are 32-bits, running under WoW64.

Other functions accessing the remote process, such as VirtualAllocEx
and WriteProcessMemory, are apparently working correctly; it's only
CreateRemoteThread that fails. Is there a workaround for this issue?

Richard.
http://www.rtrussell.co.uk/