"Not found the kernel library or the kernel library is invalid" What is the solution?

  
        

First, what is the meaning of "Not found the kernel library or the kernel library is invalid"?

The content means "cannot find the core library or the core library is invalid!

This is an error phenomenon in programs compiled with easy language.

Then, there are two possibilities, one is the core library is missing, the other is the core library is invalid, specifically what Situation, listen to me slowly ……

Question 1: What is the core library?

is the core support library (kernel.fne) of Easy Language, the most competent language program Basic operations, such as API calls, WIN32 components, etc.

Question 2: This type of problem generally occurs on hosts that do not have an easy language installed.

That is, no FNE file can be called.

That is to say; the core library is not given to the computer on which the program is to be run.

I want to run the computer I replaced with WRC, the word is very long, lazy.

Question 3: The specific case of the first support library missing, and the solution:

As mentioned earlier, the support library is not installed on the WRC (the support library is actually a DLL file), also Is that there is no support library, you must rely on the outside world to provide a series of operations through this support library (it is equivalent to the DLL file call). After compiling independently, the support library file (xx.fne) is stuffed into the EXE file (as a resource in the file). When the program is run, the xx.fne is released and released to TEMP (temporary). In the directory, then use the function inside as the DLL file is called (in fact, the FNE support library has only one public export function GetNewInf, this function outputs the specific content of the support library, saying nothing, listening, listening, not understanding It doesn't matter either.)

When there is a FNE support library in the TEMP folder, is there a support library file in WRC?

The non-independent compiled EXE file is not stuffed into FNE. Support library right? Then, the support library is not, how to run the program? Therefore, the FNE support library is not stuffed into the program (not exist as a resource for this program), but exists as a file (xx.fne ), it is quite the same as the program is not complete.

The program is incomplete, the component is missing (support library FNE), the prompt says "Not found the kernel library or the kernellibrary is invalid"


It's also very simple: just try to put the support library file in the same directory as the EXE.

It can be easy to install the language, or you can COPY the support library, or you can download it separately on the Internet. As long as the principle is understood, everything is easy to say.

Question 4: The second method supports the invalid reason and solution of the library:

If it is compiled independently, then of course this problem will occur, look at the OR behind What? Yes, the support library is invalid. This situation usually occurs after the shelled easy language program is unpacked.

Since the shell is destroyed after the shelling, the support library is naturally invalid. (This can understand the best, can't understand it doesn't matter!)

There are various reasons, most of which destroy the Yiyuan, and the solution is very complicated.

Here is a solution:

Ecide (E-code explorer), use the hex editor to separate the original body, and then implant the PE skeleton.

(This is not the main problem of this article, a pass, see a lot of such articles on the Snow Academy.)

But the author of EcE is not updated for a long time, Mr. Monkey It's lazy than me!

So this method only supports versions before 4.05 (it may also be compatible later, I have not tried it myself, anyway, EcE decompilation easy language function is before 4.05 version) OK!)

However, the easy language program after 4.05, this situation is relatively rare.

Copyright © Windows knowledge All Rights Reserved