Products  | Support & Services  | News & Events  | Partners  | Policies  | Global Sites
Home > Support > Hummingbird Connectivity Products > Exceed >  Console window does not shutdown when local x-application is closed. Print View   Contact Me
Connectivity Support


Console window does not shutdown when local x-application is closed.

LAST MODIFIED DATE: March 09, 2005

VERSION: This applies to Exceed XDK version 10.0

PROBLEM:

A local x-application is running on Windows and launches the Exceed server and a console window. When the x-application is closed, the console window is still open and has the following message:

Program finished - Press enter to close the console

How can the console window be closed automatically?

SOLUTION:

This is a two step solution.
First you must apply the xlib.dll patch version 10.0.0.1 or higher.

This patch can be obtained from Hummingbird Technical Support or by logging in to WebSupport and clicking on the "Patches" link.

Second, you must edit the registry.

  1. From the windows Start button, select Run.
  2. launch the registry editor (i.e.) regedit
  3. Once the Registry Editor is open, navigate to the following HIVE:

    HKEY_LOCAL_MACHINE\SOFTWARE\Hummingbird\Connectivity\10.00\Exceed\XDK

    If the XDK key does not exist you must create it.

  4. Add a New String Value called PromptOnConsoleExit
  5. Set the Value Data to 0 (zero).
A value of 0 (zero) will force the Console window to be closed when the x-application is closed and without prompting the user.

The default value is 1 (one) and therefore will behave as usual (i.e) The prompt "Program finished. Press enter to close the console." will appear.