I am trying to run RemoteExecute in a foreign process, it does not work at all, the same error each time is

"The system cannot find the file specified (2)"

I am using Windows 7 64 bit UltimateI am using Delphi 2010 ArchitectMy code that I'm trying to remote execute is just "normal" 32 bitThe foreign process is 32 bitThe foreign process is being run with elevated UACMy code is being run with elevated UACI have other code in my exe that performs WriteProcessMemory and that works fine

I have stripped down my remote function to almost nothing and still I get the same error. Here is my nearly nothing function I am trying to RemoteExec: