Is there any function to disconnect Dlls?

Is there any function to disconnect Dlls?

johnson23905
Not applicable
69 Views
1 Reply
Message 1 of 2

Is there any function to disconnect Dlls?

johnson23905
Not applicable

[ FlexSim 18.0.7 ]

0 Likes
Accepted solutions (1)
70 Views
1 Reply
Reply (1)
Message 2 of 2

SCHamoen
Advisor
Advisor
Accepted solution
@Johnson Hu

You can use the application command. So we made an option in a menu that looks like this:

reset();
dbclose();
applicationcommand("disconnectmoduledlls");

If you want to disconnect always press reset first and in our case we also wanted to be sure that no database connection was open. Then we disconnect the moduledll. reconnecting with code is the same:

applicationcommand("loadmoduledlls")