Registers a file on the the local system. This action uses the DLLRegisterServer in order to register a DLL or OCX file.
Action ID: 53
Action Category:
File Operations
The path and filename of the file that you wish to register. This action will most commonly be used on DLL or OCX files.
Value |
Simple Message |
Verbose Message |
0 |
OK |
|
1 |
Failed to register file. |
Failure in LoadLibrary() [<<System error code>> |
2 |
Failed to register file. |
Failure in GetProcAddress(DLLRegisterServer) [<<System error code>>] |
3 |
Failed to register file. |
Failure code returned by DLLRegisterServer |
4 |
Failed to register file. |
File not found. |
In this example, we will register a file called "MyControl.dll" in the user's system directory.
Note: %SysDir% is a built-in variable.
Source: %SysDir%\mycontrol.dll
See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab