How to register dll file

Transfer: https: //jingyan.baidu.com/article/e75aca850f574c142edac6ee.html

After missing dll problem often encountered in the windows, get dll files are generally have to register dll file to function properly on how to register the DLL file, you can see below.

First, register the DLL file method

 
  1. 1
    windows own program register DLL files (can press WIN + R keys, the "Run" dialog execution, WIN key location as shown.
    How to register dll file
  2. 2

    Open the "Run" command input shown below.

    How to register dll file
  3. 3

    After the execution can wait for the help command parameters. To register a DLL file, at the command followed by the corresponding dll file, specifically to see the back of the operation.

     

    How to register dll file
    END

Second, the registration of the DLL file type support

 
  1. 1

    DLL is the abbreviation of dynamic link library, use the command type is registered DLL Component DLL files, component-based DLL files and DLL files ordinary except that the default export four functions in the program when you can see these four a derivation function DllGetClassObject, DllRegisterServer, DllUnregisterServer and DllMain, as shown in FIG.

    How to register dll file
  2. 2

    If the dll file does not export the four standard functions mentioned above, can not be registered, as shown below, dll.dll is an ordinary individual DLL file written, can not be registered.

    How to register dll file
    END

Third, the system DLL file registration

 
  1. 1

    To correct registration system DLL files, dll file first to ensure compatibility with the current system platform. If the dll file that is used is not appropriate for the current operating system version, incompatibilities prompt similar to the following will be prompted.

    How to register dll file
  2. 2

    Next, specify the absolute path to dll registration, otherwise an error message will be shown in the following figure.

    How to register dll file
  3. 3

    Windows system dll files are generally related directly to register.

    How to register dll file
  4. 4

    Click the "OK" button or press the Enter key to successful registration.

    How to register dll file
    END

Fourth, third-party DLL file registration

 
  1.  

    Third-party DLL file registration need to have administrator privileges, otherwise it will fail registration

    How to register dll file
    How to register dll file
  2.  

    In order to perform registration command with administrator rights, you can refer to the following two methods, a method, first find the cmd command prompt, right click and choose "Run as administrator."

    How to register dll file
  3.  

    Then you can execute commands registered in the command prompt.

    How to register dll file
  4.  

    Another method is similar to the above method, just write a bat batch file commands. Note Save the file type to "All Types."

    How to register dll file
  5.  

    Next, right click and choose "Run as administrator" on the bat batch file.

    How to register dll file
  6.  

    Still can run, principles and run directly at the command prompt is the same, but the second method can easily operate other people.

    How to register dll file

Guess you like

Origin www.cnblogs.com/gtq7512/p/11981955.html