[Code]DllCallProtect
- Last UpdatedJul 19, 2023
- 1 minute read
If, when calling an external DLL, the file has a software error, this may cause Plant SCADA Runtime to crash. You can help to protect Plant SCADA Runtime 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 Plant SCADA Runtime 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:
-
0 - (Disable)
-
1 - (Enable protection)
Default Value:
0