Help trying to get the F_ApiWinConnectSession initialized and running in the background.
Fellow FM Developers,
I have the FDK8 and have been using framemaker as a processor of templates. We have successfully written a program that uses the framemaker in a user account currently logged in. In other words, USER A logs in with their account on Computer A and processes files just fine. Now, we would like to set up a system where jobs are submitted by USER A and runs on a remote Computer B which processes the document and saves it as a PDF.
We want to make it so users can submit a job through a web service using the .NET framework. We have tried to do this, however we are failing on one crucial part of our development. I am trying to use the single most important (asynchronis) connectivity line:
F_ApiWinConnectSession( NULL, NULL, &ClassID );
This is because we want to have framemaker start in the background with this execution of this service. Unfortunately, without the GUI available this command fails. We have obviously created a Progid and it has been registered in the registry. We did this by runnning :
FrameMaker.exe /progid:FrameMaker.Automation.2 /auto
Can anyone help me with trying to get framemaker to run in a background. Is there a way to process the documents without have the GUI up and loaded and then have it process the document.
Your help is greatly appreciated,
Adam
