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

Cannot find Inject method in CoreHook.BinaryInjection nuget package #140

Open
JPDelprat opened this issue Dec 7, 2022 · 5 comments
Open

Comments

@JPDelprat
Copy link

JPDelprat commented Dec 7, 2022

Hello,

I'm trying to migrate an old project from .net 4.5 (using EasyHooks) to .net 6.0, using your nuget packages.

I don't find the Inject method in nuget packages.
From CoreHook source code, I assumed that this method was located in CoreHook.BinaryInjection package but I cannot find it.

Could you help me, please ?

By the way, do you have some samples for injector using nuget packages ? I've only found such samples for dlls to be injected.

Thanks

@Redplcs
Copy link

Redplcs commented Jan 29, 2025

How do you resolve this problem?

I assume that NuGet package is outdated, because dnSpy can't find RemoteInjector class in the CoreHook.BinaryInjection package

@JPDelprat
Copy link
Author

To be honest, I don't remember. Anyway, I didn't use CoreHook in the end and just reimplemented things in my own way to suit my needs. Sorry about that.

@Redplcs
Copy link

Redplcs commented Jan 29, 2025

Can you please show your solution? I want to make an DX9 overlay, but can't hook my library :(

@JPDelprat
Copy link
Author

Sorry, but my code is part of a bigger project. It would be too much work to remember what I did and extract a simple independent part (with a working sample), or even just provide you with some explanations.

There is nothing special in my code. It's just based on information i found on the web.

I suggest that you build CoreHook and determine where it fails.

Sorry but too much time has passed since I did that.

@Redplcs
Copy link

Redplcs commented Jan 29, 2025

No problem. I've accepted it and build everything on .NET Framework 4.0. Thanks for replies

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

2 participants