Method to solve the failure of calling dllregisterserver: 1. Right-click the start button and click "Command Prompt (Administrator)" in the menu that opens; 2. Enter "Command Prompt" in the "Command Prompt" window. regsvr32 "Path\Control Name"" command; 3. Press Enter to execute the command, and it will prompt that the registration is successful.
The operating environment of this article: Windows 10 system, Dell G3 computer.
Solution to win10 ".dll (or .ocx) control has been loaded, but the call to DllregisterServer failed, the error code is 0x80007005"
Process reference for reconstructing the computer room The "computer room charging system.exe" generated with VB is executable. After installation, some forms involving controls will report errors, prompting "Run error '399' Part '***.ocx 'or one of its attachments could not be registered correctly: a file is missing or invalid". This problem is caused by the required control not being registered correctly. Use win R to open the run window and enter "cmd". In the command, enter "regsvr32 path control name" before it can be used.
But after pressing Enter, the prompt shows " ***.dll (or .ocx control has been loaded but the call to DllRegisterServer failed, error code 0x8002801c (or other similar error codes) ". This error is usually related to permission issues. The command prompt needs to be run with administrator privileges to register successfully.
The simplest The solution is:
Right-click the Start button and click "Command Prompt (Administrator)" in the menu that opens
## In Administrator: Command Enter "regsvr32 "Path\Control Name" "
in the prompt and press Enter, then it will prompt that the registration is successful. Personal test is effective, very easy to use!For more related knowledge, please visitPHP Chinese website!
The above is the detailed content of How to solve the problem of failed call to dllregisterserver. For more information, please follow other related articles on the PHP Chinese website!