Browse Prior Art Database

Automatic Launching of Windows Applications From OS/2

IP.com Disclosure Number: IPCOM000121489D
Original Publication Date: 1991-Sep-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 1 page(s) / 39K

Publishing Venue

IBM

Related People

Jefferson, KJ: AUTHOR [+2]

Abstract

This article describes a method for launching Windows* applications from an OS/2** process. Currently, the OS/2 Desktop Manager and its groups provide a way to register and launch DOS applications, but there is no way to register and launch a Windows application. By extending the DOS application launch capability of OS/2, both the Windows environment and applications written for Windows can be started.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Automatic Launching of Windows Applications From OS/2

      This article describes a method for launching Windows*
applications from an OS/2** process.  Currently, the OS/2 Desktop
Manager and its groups provide a way to register and launch DOS
applications, but there is no way to register and launch a Windows
application.  By extending the DOS application launch capability of
OS/2, both the Windows environment and applications written for
Windows can be started.

      OS/2 provides DOS application launch capability through access
to a system device driver DOS$.  By writing a specially formatted
text string to this device driver, Windows applications can be
started.  The format of the text string is a follows:
With the exception of the control block, all commands in the text
string are sent in the same format as if they were executed from a
DOS prompt.

      To take advantage of Windows launching from OS/2, an
application needs to follow the steps below:
1.  Prepare the specially formatted text string for starting the
Windows application
2.  Pass this string to the device driver DOS$
3.  Switch to the DOS box from OS/2 by using standard OS/2 API calls.
By using this technique, OS/2, DOS, and Windows applications can be
launched from OS/2, giving users a seamless interface to all 3
operation environments.
*   Trademark of Microsoft Corp.
**  Trademark of IBM Corp.