Did all that and tried it - still same error. I did get a different %TEMP% code. Also tried compatibility mode and had no luck.
----- C&C:Online Launcher Start -----
Game: Kane's Wrath
Kane's Wrath Install Path: C:\Program Files (x86)\Origin Games\Command and Conquer 3 TW and KW\Command Conquer 3 Kanes Wrath\
Started game with: ""Command Conquer 3 Kanes Wrath\CNC3EP1.exe""
Caught CREATE_PROCESS_DEBUG_EVENT from Kane's Wrath. Detaching...
Found game.dat process. PID 7844
*** Starting CA public key patching routine ***
CA public key is expected value.
Successfully patched CA public key.
*** Starting hostname hooking routine ***
Injecting DLL into game.dat process...
Result of injection: Code -1073741582