[Overview][Resource strings][Types][Classes][Index] Reference for unit 'eventlog' (#fcl)


Unregister the message file (needed on windows only)


Source position: eventlog.pp line 81

public function TEventLog.UnRegisterMessageFile: Boolean; virtual;

Function result

True if the message file was successfully unregistered, false if an error occurred.


UnRegisterMessageFile can be used to unregister a message file previously registered with TEventLog.RegisterMessageFile. This function is usable only on windows, it has no effect on other platforms. Note that windows locks the registered message file while viewing messages, so unregistering helps to avoid file locks while event viewer is open.

See also



Register message file

Documentation generated on: May 14 2021