3 Replies Latest reply on May 27, 2016 3:45 AM by Russ Ward

    How to check if API can connect to FM?

    Ch. Efstathios Level 1

      Hi in my FMClient I have the following method for checking if API is alive: bool FMClient::IsConnected() { return F_ApiAlive() > 0; } After I connect to FM with F_ApiStartUp the IsConnected method returns true. However, If the user closes the FM application then this method still continue returns true. How can I check if the FM application is alive and the FMClient is connected with it? Should I run and test an API call? e.g. Try to get the current active document or something else?