Categories > Coding > C# >

Krnl api unable to load "injector.dll"

Posts: 8

Threads: 2

Joined: Jan, 2022

Reputation: 0

Posted

"Unable to load DLL 'injector.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

Anyone got this error?

 

Whenever I try to inject it gives me this error. I don't know if I've got any codes wrong

Anyway here's my code

krnlapi.Inject();

Second code

Injector.inject(Application.StartupPath + "krnl.dll");

Both gave me the same error

  • 0

Posts: 1600

Threads: 166

Joined: Apr, 2021

Reputation: 13

Replied

Why don't you just try making it

Injector.Inject("krnl.dll")
  • 0

Random quote here...

Posts: 1673

Threads: 10

Joined: Sep, 2020

Reputation: 59

Replied

Read the documentation for the api

  • 0

Discord : Doctor Doom#0550

Posts: 8

Threads: 2

Joined: Jan, 2022

Reputation: 0

Replied

@VoidableMethod

I tried, same error.

 

@Astronemi

Yeah, it's literally in the same folder

 

@0x777_

I did before using the api, but it really just gives me this error

  • 0

Alternate

stop take my rice

vip

Posts: 607

Threads: 105

Joined: Mar, 2022

Reputation: 36

Replied

@Katsune
KRNL api is pretty crappy anyways. There's little documentation on it and it has a key system. Only good thing about it is it's script support and stability.

 

Try re-adding KRNL API as a reference or something, that usually fixes all corrupted or damaged parts of the API or DLL's. 

If all else fails, use another API, or go destroy KRNL's discord with bots because you are angry at their API for being bad.

  • 0

we are dead

Posts: 8

Threads: 2

Joined: Jan, 2022

Reputation: 0

Replied

@Alternate

 

Thanks, but I managed to make it work.

All I needed was just Initialize the api lol

KrnlApi.Initialize();
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )