Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 41811968)' #377

Open
jjbrunton opened this issue Jul 3, 2021 · 0 comments

Comments

@jjbrunton
Copy link

Super simple console application injecting a dll and I get the above error:

   class Program
    {
        static string channelName;

        static void Main(string[] args)
        {
            var wow = Process.GetProcessesByName("WowClassic").FirstOrDefault();
            // Get the full path to the assembly we want to inject into the target process
            string injectionLibrary = Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "TestLibrary.dll");
            EasyHook.RemoteHooking.IpcCreateServer<ServerInterface>(ref channelName, System.Runtime.Remoting.WellKnownObjectMode.Singleton);

            RemoteHooking.Inject(wow.Id, injectionLibrary, injectionLibrary, null);

            Console.WriteLine("<Press any key to exit>");
            Console.ResetColor();
            Console.ReadKey();
        }
    }

'STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 41811968)'

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant