|Luna Catkins a00bb2d1ff||1 week ago|
|examples||1 week ago|
|src||1 week ago|
|.gitignore||1 week ago|
|Cargo.toml||1 week ago|
|LICENSE.txt||1 week ago|
|README.md||1 week ago|
// DWORD WINAPI fn(void); extern "system" fn() -> DWORD;
examples/injector.rs for how to use this library.
Note that the bitness (32-bit or 64-bit) of the calling process, target process, and injected DLL all need to match. Also, in some cases, Windows won't let you inject certain processes.
The injected process couldn't find your DLL. Make sure you got the path to your DLL right, and that it stays where it is until
The system couldn't find the initialization function in your DLL. Make sure you spelled the name correctly.
Make sure it's not an issue in your DLL's code. Note that some programs may implement code that can detect if they're being injected, and crash.
Otherwise, not sure how much I can help you. Debugging this stuff is not easy.