Posted: Fri Oct 01, 2004 2:01 pm Post subject: triggered c++ program does not run when runmqtrm win service
Centurion
Joined: 01 Nov 2003 Posts: 101
Program works fine when runmqtrm runs from a dos window either in background or foreground but not when runmqtrm is a windows service. I have done this before several years ago but can't remember what I need to do. program was built with ms vis stud 6.
Posted: Sat Oct 02, 2004 3:17 pm Post subject: triggered c++ program does not run when runmqtrm win service
Centurion
Joined: 01 Nov 2003 Posts: 101
Jeff,
Success. The notes on the subject are good.
Just one change required to get this working when runmqtrm running as a service, and that was to precede the program exe with a start command.
On PROCESS object Application Identifier set to "start getput.exe"
Some further observations : I found if you start a dos window, initiate runmqtrm itself in another (start runmqtrm ....) window and the appln process itself also invoked with the application identifier of the process object also using the preceding start command (as above) another window is opened for this appln, when it ends the window is closed. If the appln was not started this way and if it waited indefinitely it would wait the runmqtrm also I believe.
As my appln program issues a GET with wait I was able to see it running from task manager and disappearing when the wait expired and the program went to eoj.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum