Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > GUI Development
  New Posts New Posts RSS Feed - ATGUISHUTDOWN issue
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedATGUISHUTDOWN issue

 Post Reply Post Reply
Author
Message
w_godsoe View Drop Down
Newbie
Newbie


Joined: April 14 2005
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote w_godsoe Quote  Post ReplyReply Direct Link To This Post Topic: ATGUISHUTDOWN issue
    Posted: November 01 2010 at 11:39pm
The following code will only shutdown the GUI if the sleep command is included. The application is being called from a variety of processes and in turn calls a VB application, via ESC:STX:"<":CMD:CR: .

The form would correctly be removed, but the GUI server continued to run. I placed a debug before the form close trying to catch an errors, but instead, the GUI server would shutdown. If the sleep is removed, closing down the server does not take place. Any ideas?

          SLEEP 20
          GOSUB GUI.WARN.FORM1.CLOSE
          CALL ATGUISHUTDOWN
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: November 02 2010 at 3:25am
Hi Walt -

The server process (atguisvr.exe or atguisvr70.exe) does not shut down until the session is closed or reset. This is by design - once a GUI app has been run, its likely one will be run in the future so the cost of starting the server process is avoided after the first GUI app.

Thanks,

Pete
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.