Closed weituotian closed 7 years ago
A bit odd, looks like it successfully injects and then getting access denied attempting to check if 64-bit.
You could try instead replacing that check with the following and see if it makes it much further. bool isX64Process = IntPtr.Size > 4;
@spazzarama thanks! it work fine!
when i hook war3.
Error: An unexpected error occured: System.AccessViolationException: STATUS_ACCESS_DENIED: The given process is not accessible. (Code: 5) 在 EasyHook.NativeAPI.Force(Int32 InErrorCode) 在 EasyHook.NativeAPI.RhIsX64Process(Int32 InProcessId, Boolean& OutResult) 在 EasyHook.RemoteHooking.IsX64Process(Int32 InTargetPID) 在 Capture.EntryPoint.InitialiseDirectXHook(CaptureConfig config) 位置 e:\c\game\Direct3DHook\Capture\EntryPoint.cs:行号 146 在 Capture.EntryPoint.Run(IContext context, String channelName, CaptureConfig config) 位置 e:\c\game\Direct3DHook\Capture\EntryPoint.cs:行号 70 Information: Injected into process Id:12068.