mnToggleErrorMode

This command enables or disables the specified error mode. If the error mode is already enabled then it will be disabled, if the error mode is already disabled then it will be enabled.

You can choose from one of the following error modes:

- EM_SAVE (1) : Disabled by default

- EM_MESSAGE_BOX (2): Enabled by default

- EM_EXCEPTION (3): Disabled by default. Not available in DBP.

Multiple error modes can be enabled at the same time.

If all 3 error modes are enabled, the error will be passed through each error mode in this order:

1. EM_MESSAGE_BOX (2)

2. EM_SAVE (1)

3. EM_EXCEPTION (3)

You can use mnGetErrorMode to determine whether an error mode is enabled or disabled.

Parameters

int Mode: The error mode that the command should toggle

Returns (Integer)

0 if no error occurred

-1 if an error occurred

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Error Reporting
(1) Miscellaneous
(0) DarkNet Help