User interfaces (API)
7.3 Shut down API
7.3
Shut down API
7.3.1
Native C++
Basic procedure for deleting the user interfaces
To delete all user interfaces, generally follow these steps:
1. Delete the interfaces IInstances and IRemoteRuntimeManager.
2. Call the
3. Delete the ISimulationRuntimeManager interface.
4. Unload the API library (DLL) with the Win32 API-Funktion
Deleting the user interfaces via functions
Deleting the user interfaces is also possible via functions.
If the API was initialized using the
using the following functions:
● FreeApi() (Page 103)
● ShutdownAndFreeApi() (Page 104)
100
function of the ISimulationRuntimeManager interface.
Shutdown()
function, you delete the user interfaces
InitializeApi()
Function Manual, 12/2017, A5E37039512-AB
FreeLibrary().
S7-PLCSIM Advanced