How to solve the problem of Win7 playing League of Legends invalid?

  
                

Recently, users of Win7 system suddenly appeared warning sounds during the game of League of Legends. After minimizing the game, they can still see that the prompts on the desktop are invalid, and they cannot be shut down normally. Shut down. After the restart, the anti-virus software was used to kill the virus. After the anti-virus, no virus was found. Then continue to play, and the same problem occurs, what should I do? How do you solve this problem completely? Now Xiaobian will talk to you about Win7 playing League of Legends, the handle is invalid.

steps are as follows:

approach: Is it because of this warning tone when prompted to install third-party software, if it is recommended not to use uninstall, or to view the event itself is not a game When the problem is reached, you can uninstall and re-download the installation.

The system cannot load the user configuration, but can load the default configuration.

 quo;The handle is invalid" is usually a programming error, but your situation is obviously not a programming problem, it should be missing or changed some system files. I guess it may be your dircetx error, or a DLL file that has lost some dynamic link libraries. You re-download a directx9.0c, try to install. If you still can't, reinstall the operating system, which is more convenient.

Other explanations for "invalid handle": (for reference only!)

The so-called handle is actually a data, which is a Long (full-length) data.

A handle is a unique integer used by WONDOWS to identify objects that are created or used by an application. WINDOWS uses a variety of handles to identify such things as application instances, windows, controls, bitmaps, GDI objects, etc. . The WINDOWS handle is a bit like the file handle in C.

From the above definition, we can see that the handle is an identifier that is used to identify the object or item. It is like our name. Everyone will have one, different people. The name is different, but there may be someone with the same name as you. It is just a 16-bit unsigned integer from the data type. An application almost always gets a handle by calling a WINDOWS function, which can then be used by other WINDOWS functions to reference the corresponding object.

If you want to know the handle more thoroughly, I can tell you that the handle is a pointer to a pointer. We know that a pointer is a memory address. After the application is launched, the objects that make up the program are left in memory. If you simply understand, it seems that as long as we know the first address of this memory, we can use this address to access the object at any time. However, if you really think so, then you are very wrong. We know that Windows is a virtual memory based operating system. In this system environment, the Windows Memory Manager often moves objects back and forth in memory to meet the memory needs of various applications. Moving an object means that its address has changed. If the address always changes, where should we go to find the object?

In order to solve this problem, the Windows operating system frees up some internal storage addresses for each application to specifically register the address changes of each application object in the memory, and this address (the location of the storage unit) itself is Changeless. After the Windows memory manager moves the location of the object in memory, it informs the handle address of the new address of the object to save. So we only need to remember this handle address to know indirectly where the object is in memory. This address is assigned by the system when the object is loaded. It is released to the system when the system is unloaded (Unload).

Handle address (stable) → records the address of the object in memory ————→the address of the object in memory (unstable)→actual object

Essential: WINDOWS programs do not use physical addresses to identify a memory block, file, task, or dynamically loaded module. Instead, the WINDOWS API assigns a certain handle to these items, returns the handle to the application, and then passes Handle to operate.

However, it must be noted that every time the program is restarted, the system cannot guarantee that the handle assigned to the program is the original handle, and most of the cases are different. If we think of watching movies into the cinema as an application startup, then the handles assigned to the application by the system are always different, which is the same as the one seat that is always different for each ticket sold to the cinema. .

Win7 playing League of Legends has a solution to the invalid handle, I will give you a detailed introduction here. If you have encountered any problems while playing the game, please try the above method! Maybe it can help solve this troublesome problem. Users in need can also try it!

Copyright © Windows knowledge All Rights Reserved