When a 16-bit application passes command-line parameters to another application on a Windows Vista-based computer, the second application does not receive the command-line parameters

When a 16-bit application passes command-line parameters to another application on a Windows Vista-based computer, the second application does not receive the command-line parameters

Article ID : 933662
Last Review : December 4, 2007
Revision : 1.2
On This Page

SYMPTOMS

Consider the following scenario. A 16-bit application is running on a Windows Vista-based computer. This 16-bit application passes command-line parameters to another application. For example, the 16-bit application calls the ShellExecute function to start another application. Meanwhile, the 16-bit application passes command-line parameters to the newly started application.

In this scenario, the second application starts. However, the second application does not receive the command-line parameters. Therefore, the second application may not work as expected.

Back to the top

CAUSE

This problem occurs because a buffer that is allocated for command-line parameters is not large enough.

Back to the top

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451 (http://go.microsoft.com/?linkid=6294451)

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)

Prerequisites

No prerequisites are required.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Vista, x86-based versions
File name File version File size Date Time Platform
Update.mum Not Applicable 1,786 07-Mar-2007 21:41 Not Applicable
X86_03e8aeb5d33312b5b919388a92c66f0a_31bf3856ad364e35_6.0.6000.20551_none_cad4ce47b0a4e01c.manifest Not Applicable 702 07-Mar-2007 21:41 Not Applicable
X86_microsoft-windows-ntvdm-system32_31bf3856ad364e35_6.0.6000.20551_none_fc7bc4218eac9133.manifest Not Applicable 151,801 07-Mar-2007 21:43 Not Applicable
Ansi.sys Not Applicable 9,029 07-Mar-2007 00:17 Not Applicable
Append.exe Not Applicable 12,498 07-Mar-2007 00:17 Not Applicable
Autoexec.bat Not Applicable 24 07-Jan-2007 05:44 Not Applicable
Autoexec.nt Not Applicable 1,688 07-Jan-2007 05:44 Not Applicable
Bios1.rom Not Applicable 28,420 07-Jan-2007 05:44 Not Applicable
Bios4.rom Not Applicable 8,191 07-Jan-2007 05:44 Not Applicable
Comm.drv 3.10.0.103 10,544 07-Mar-2007 00:18 Not Applicable
Command.com Not Applicable 50,648 07-Mar-2007 00:17 Not Applicable
Commdlg.dll 3.10.0.103 32,816 07-Mar-2007 00:18 Not Applicable
Config.nt Not Applicable 2,577 07-Jan-2007 05:44 Not Applicable
Config.sys Not Applicable 10 07-Jan-2007 05:44 Not Applicable
Country.sys Not Applicable 27,097 07-Mar-2007 00:17 Not Applicable
Csrstub.exe 6.0.6000.20551 46,080 07-Mar-2007 01:47 x86
Ctl3dv2.dll 2.99.0.0 27,200 07-Jan-2007 05:44 Not Applicable
Ddeml.dll 3.50.0.103 39,424 07-Mar-2007 00:18 Not Applicable
Debug.exe Not Applicable 20,634 07-Mar-2007 00:17 Not Applicable
Dosx.exe Not Applicable 53,536 07-Mar-2007 00:18 Not Applicable
Drwatson.exe 3.10.0.103 28,112 07-Mar-2007 00:18 Not Applicable
Edit.com Not Applicable 69,886 07-Jan-2007 05:44 Not Applicable
Edit.hlp Not Applicable 10,790 07-Jan-2007 05:44 Not Applicable
Edlin.exe Not Applicable 12,642 07-Mar-2007 00:17 Not Applicable
Ega.cpi Not Applicable 127,213 07-Jan-2007 05:35 Not Applicable
Exe2bin.exe Not Applicable 8,424 07-Mar-2007 00:17 Not Applicable
Fastopen.exe Not Applicable 882 07-Mar-2007 00:17 Not Applicable
Gdi.exe 3.10.0.103 24,576 07-Mar-2007 00:17 Not Applicable
Graftabl.com 6.0.6000.20551 56,320 07-Mar-2007 01:47 Not Applicable
Graphics.com Not Applicable 19,694 07-Mar-2007 00:17 Not Applicable
Graphics.pro Not Applicable 21,232 07-Jan-2007 05:44 Not Applicable
Himem.sys Not Applicable 4,768 07-Mar-2007 00:17 Not Applicable
Kb16.com Not Applicable 14,710 07-Mar-2007 00:17 Not Applicable
Key01.sys Not Applicable 42,809 07-Mar-2007 00:17 Not Applicable
Keyboard.drv 3.10.0.103 2,000 07-Mar-2007 00:18 Not Applicable
Keyboard.sys Not Applicable 42,537 07-Mar-2007 00:17 Not Applicable
Krnl386.exe 3.10.0.103 92,320 07-Mar-2007 00:17 Not Applicable
Lanman.drv 2.10.0.1 221,600 07-Jan-2007 05:44 Not Applicable
Loadfix.com Not Applicable 1,131 07-Mar-2007 00:17 Not Applicable
Lzexpand.dll 3.10.0.103 9,936 07-Jan-2007 05:44 Not Applicable
Mem.exe Not Applicable 39,274 07-Mar-2007 00:17 Not Applicable
Mmsystem.dll 3.10.0.103 68,992 07-Mar-2007 00:18 Not Applicable
Mmtask.tsk 3.10.0.103 1,152 07-Mar-2007 00:18 Not Applicable
Mouse.drv 3.10.0.103 2,032 07-Mar-2007 00:18 Not Applicable
Mscdexnt.exe Not Applicable 718 07-Mar-2007 00:17 Not Applicable
Netapi.dll 3.11.0.300 108,464 07-Jan-2007 05:44 Not Applicable
Nlsfunc.exe Not Applicable 7,052 07-Mar-2007 00:17 Not Applicable
Ntdos.sys Not Applicable 27,866 07-Mar-2007 00:17 Not Applicable
Ntdos404.sys Not Applicable 29,146 07-Mar-2007 00:17 Not Applicable
Ntdos411.sys Not Applicable 29,370 07-Mar-2007 00:17 Not Applicable
Ntdos412.sys Not Applicable 29,274 07-Mar-2007 00:17 Not Applicable
Ntdos804.sys Not Applicable 29,146 07-Mar-2007 00:17 Not Applicable
Ntio.sys Not Applicable 33,952 07-Mar-2007 00:17 Not Applicable
Ntio404.sys Not Applicable 34,672 07-Mar-2007 00:17 Not Applicable
Ntio411.sys Not Applicable 35,776 07-Mar-2007 00:17 Not Applicable
Ntio412.sys Not Applicable 35,536 07-Mar-2007 00:17 Not Applicable
Ntio804.sys Not Applicable 34,672 07-Mar-2007 00:17 Not Applicable
Ntvdm.exe 6.0.6000.20551 520,192 07-Mar-2007 01:47 x86
Ntvdmd.dll 6.0.6000.20551 14,848 07-Mar-2007 02:53 x86
Olecli.dll 1.32.0.0 82,944 07-Jan-2007 05:44 Not Applicable
Olesvr.dll 1.11.0.0 24,064 07-Mar-2007 00:18 Not Applicable
Pmspl.dll 2.10.0.1 46,592 07-Jan-2007 05:44 Not Applicable
Redir.exe Not Applicable 2,842 07-Mar-2007 00:17 Not Applicable
Setver.exe Not Applicable 11,753 07-Mar-2007 00:17 Not Applicable
Share.exe Not Applicable 882 07-Mar-2007 00:17 Not Applicable
Shell.dll 3.10.0.103 5,120 07-Mar-2007 00:18 Not Applicable
Sound.drv 3.10.0.103 1,744 07-Mar-2007 00:18 Not Applicable
Sysedit.exe 3.10.0.103 18,896 07-Jan-2007 05:44 Not Applicable
System.drv 3.10.0.103 3,360 07-Mar-2007 00:17 Not Applicable
Timer.drv 3.10.0.103 4,048 07-Mar-2007 00:18 Not Applicable
Toolhelp.dll 3.10.0.103 13,888 07-Mar-2007 00:18 Not Applicable
User.exe 3.10.0.103 47,840 07-Mar-2007 00:17 Not Applicable
V7vga.rom Not Applicable 18,832 07-Jan-2007 05:44 Not Applicable
Vdmredir.dll 6.0.6000.20551 41,984 07-Mar-2007 02:53 x86
Ver.dll 3.10.0.103 9,008 07-Jan-2007 05:44 Not Applicable
Vga.drv 3.10.0.103 2,176 07-Mar-2007 00:18 Not Applicable
Wfwnet.drv 3.10.0.103 12,704 07-Mar-2007 00:18 Not Applicable
Wifeman.dll 3.10.0.103 9,216 07-Mar-2007 00:18 Not Applicable
Win.com 6.0.6000.20551 6,656 07-Mar-2007 01:47 Not Applicable
Win87em.dll Not Applicable 13,312 07-Jan-2007 05:44 Not Applicable
Winhelp.exe 3.10.0.425 256,192 07-Jan-2007 05:44 Not Applicable
Winnls.dll 3.10.0.103 5,120 07-Mar-2007 00:18 Not Applicable
Winoldap.mod 3.10.0.103 2,080 07-Mar-2007 00:18 Not Applicable
Winsock.dll 3.10.0.103 2,864 07-Mar-2007 00:18 Not Applicable
Winspool.exe 3.10.0.103 2,112 07-Mar-2007 00:18 Not Applicable
Wow32.dll 6.0.6000.20551 273,920 07-Mar-2007 02:54 x86
Wowdeb.exe 3.10.0.103 2,864 07-Mar-2007 00:18 Not Applicable
Wowexec.exe 3.10.0.103 8,960 07-Mar-2007 00:18 Not Applicable
_default.pif Not Applicable 707 07-Jan-2007 05:44 Not Applicable

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.

Back to the top

MORE INFORMATION

For more information about the ShellExecute function, visit the following Microsoft TechNet Web site:

http://msdn2.microsoft.com/en-us/library/ms647732.aspx (http://msdn2.microsoft.com/en-us/library/ms647732.aspx)

For more information about the standard terminology that is used to describe Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:

824684 (/Feedback.aspx?kbNumber=824684/) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top


APPLIES TO
• Windows Vista Ultimate
• Windows Vista Home Premium
• Windows Vista Home Basic
• Windows Vista Enterprise
• Windows Vista Business

Back to the top

Keywords: 
kbbug kbfix kbqfe kbpubtypekc kbexpertiseinter kbhotfixserver kbwinvistapostrtmfix KB933662

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image