Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Clean close down OI

We have a user login form that is run from the create event of the MDI form.
There is a cancel button that closes the form, but OI is still running when you look at task manager.
What is the cleanst way to abort OI so that it is release from memory an releases the user count.

Is it ABORT ALL

Comments

  • We do exactly the same thing. In the CREATE event handler of the MDI form, if the user cancels the Login form, we do the following:
    End_Window(@Window)
    Does this work for you?
  • Yes it does.
    But in OI10 if you dont have /HE=0, then the engine is still running!
    Have you seen this?
  • Oh, yeah, I've seen that. It's because of the redone IDE. In OI 10 you can do this:
    // Close the application Call Exec_Method( "SYSTEM", "DESTROY", "SYSTEM" )
    This comes from 065-system-object.pdf.
Sign In or Register to comment.