Filtering Out ErrorMode Messages
5/10/2007
You can instruct the operating system to filter out certain notification messages without affecting user interface functionality.
Note
Unlike EnableDefaultReply, ErrorMode only hides the messages, it does not intercept them and choose the default button. Be sure to check your system log to see the errors that occurred but are hidden from display.
To filter out ErrorMode messages
In Target Designer, open your run-time image configuration.
In the configuration editor, expand the node for the SLX file, and then expand the Windows subsystem component.
In the Registry path list, right-click HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Windows\ErrorMode, and then click Properties.
In the Root list, make sure HKEY_LOCAL_MACHINE is selected.
Do not change the contents of the Key Name, Value Name, and Type list fields.
In the Value box, type one of the following:
- To suppress system messages, type: 1
- To suppress all messages, type: 2
In the Description box, type a description for this registry value for future reference.
Choose OK.
In Target Designer, open your run-time image configuration.
In the configuration editor, expand the node for the SLX file, and then expand the Windows subsystem component.
In the Registry path list, right-click HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Windows\ErrorMode, and then click Properties.
In the Root list, make sure HKEY_LOCAL_MACHINE is selected.
Do not change the contents of the Key Name, Value Name, and Type list fields.
In the Value box, type one of the following:
- To suppress system messages, type: 1
- To suppress all messages, type: 2
In the Description box, type a description for this registry value for future reference.
Choose OK.