Parameters > Citect.ini File Parameters > Code Parameters > [Code]DllCallProtect

[Code]DllCallProtect

If, when calling an external DLL, the file has a software error, this may cause CitectSCADA to crash. You can help to protect CitectSCADA by setting the [Code]DllCallProtect=1 value in your citect.ini file.

Setting [Code]DllCallErrorPopup=1 also logs the Cicode function and arguments being used if it occurs.

Technical Support recommends that these parameters be set during commissioning.

As DLLs can use different languages and versions, it is possible for CitectSCADA to falsely catch an exception using the DllCallProtect=1 setting. We recommend a run is tried without the DllCallProtect setting, to see if it would happen in the called DLL.

Allowable Values:

Default Value: 0

See Also