PDA

View Full Version : A pesky terminal window on a C module call....



Guest.Visitor
01-01-1995, 02:00 AM
Hi. I have developed an RPG program that calls C APIs to execute a LotusScript. There is an API which I call to redirect standard output to memory: error = AgentRedirectStdout(*hOpenAgentCtx, AGENT_REDIR_MEMORY); Everything works great, but when I run the LotusScript (agent) a terminal session screen always pops up to show the results of some print statements that are executed within the LotusScript. Is there a way to prevent this terminal screen from appearing? Thanks in advance.

Guest.Visitor
09-07-2000, 09:43 AM
I have partially solved the problem. If I recreate the RPG program and explicitly specify an activation group, the screen disappears after I reclaim the activation group. When the agent is executed, the terminal window pops up momentarily and then disappears. If anybody knows how to suppress the appearance of this terminal screen entirely, please let me know. Thank you for your time.