Skip to main content
Participating Frequently
September 2, 2022
Question

How to connect to new FrameMaker session

  • September 2, 2022
  • 1 reply
  • 105 views

Hi,

In our application we are using F_ApiAlive() method to check if it's connected to framemaker session.

Initially F_ApiAlive() return 0  and F_ApiStartUp() connects the application with framemaker but if FrameMaker is closed manually then also F_ApiAlive() returns "Non Zero" value(which means connected to frameMaker but FM is already closed). After that F_ApiStartUp() also doesn't connect with new FrameMaker session. So basically i need a way to connect to new FM session if first one was closed.

 

Thanks

    This topic has been closed for replies.

    1 reply

    4everJang
    Legend
    September 2, 2022

    I fail to understand why you would create an application from outside FM and then get it to connect to an FM session. Why not have the application started from inside an FM session. Maybe explaining a little bit about the planned workflow would help other app developers to come up with useful ideas. You Always Have Other Options.