Microsoft KB Archive/69899

{|
 * width="100%"|

PRB: ExitProgman DDE Service Does Not Work If PROGMAN Is Shell

 * }

Q69899

-

The information in this article applies to:


 * Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1
 * Microsoft Win32 Application Programming Interface (API), included with:
 * the operating system: Microsoft Windows NT, versions 3.5, 3.51
 * Microsoft Windows 4.0
 * Microsoft Windows 95

-

SYMPTOMS
Calling the ExitProgman function documented in the Microsoft Windows SDK version 3.0 &quot;Guide to Programming,&quot; section 22.4.4 (pages 22-19 through 22- 22) fails under certain circumstances.

CAUSE
Calling this function will fail if the Program Manager is the Windows shell.

RESOLUTION
This behavior is by design. The Windows 3.1 documentation states:

"If Program Manager was started from another application, the ExitProgman command instructs Program Manager to exit and, optionally, save its groups information."

For another application to start Program Manager, the Program Manager cannot be the shell.

Additional query words: 3.00 3.10 3.50 4.00 WIN16SDK

Keywords :

Issue type :

Technology : kbAudDeveloper kbSDKSearch kbWin32sSearch kbWin32API kbWinSDKSearch