Graphics

 View Only
  • 1.  Correct Way to fully close Xpression from API?

    Posted 09-17-2014 21:08
    I am using "engine.CloseProject" API to close Xpression from controller app. However, I notice that it usually failed to close the project and report an error. Therefore, next time when users turn on from the app, it will pop up an error message such as "An instance of Xpression is already running,...". And I can see that "Xpression.ext *32" is still running behind the scene even if I called "engine.CloseProject"...

    Could anyone give me some suggestion? If there's any thread, framebuffer or memory still running prohibit the closing process, how should I clean it up to close it completely?


  • 2.  RE: Correct Way to fully close Xpression from API?

    Posted 09-29-2014 14:39
    Hi Ellis,

    Does this thread answer your question?

    Close VB Application

    #XPression


  • 3.  RE: Correct Way to fully close Xpression from API?

    Posted 09-30-2014 00:49
    Hi Garner,

    Thank you! It's weird that I didn't see this close() function in library doc.

    -Ellis

    #XPression