BUG: Visual C++ 1.5 Setup Does Not Set Up SHARELast reviewed: July 22, 1997Article ID: Q116139 |
1.50
WINDOWS
kbsetup kbbuglist
The information in this article applies to:
SYMPTOMSThe Setup program for Visual C++ for Windows, version 1.5, does not modify the AUTOEXEC.BAT file to include changes for the file SHARE.EXE; it also does not modify the SYSTEM.INI file to include changes for the file VSHARE.386. The Visual C++ command line tools, as well as Object Linking and Embedding (OLE) 2.0 compound file support, require file sharing to be enabled. Details for these requirements can be found on page 9 of the "Visual C++ Getting Started" manual. Symptoms of this may include a message stating "System resource exhausted" when you try to build an app from DOS (or a DOS box). This message does not occur if the SHARE parameters are set properly.
RESOLUTIONUnder Windows for Workgroups, be sure that the line
device=vshare.386appears in the [386Enh] section of the SYSTEM.INI file in the \windows directory. Do not add the SHARE.EXE file to the AUTOEXEC.BAT file when running Windows for Workgroups. Under Windows 3.1, it is necessary for the AUTOEXEC.BAT file to include the following line:
SHARE /L:500 /F:5100If SHARE is already installed, make sure that the /L:500 and /F:5100 options are properly set. The /L option sets the number of files that can be locked at one time; the default value is 20. The /F option allocates file space for the MS-DOS storage area used for file-sharing information. This value needs to be at least 5100. NOTE: Windows, version 3.1, does not support the Windows for Workgroups vshare virtual device driver, so do not add a line for this to your SYSTEM.INI file. When installing Visual C++ 1.5 under Windows NT, SHARE does not need to be installed in AUTOEXEC.BAT unless Visual C++ will be run under MS-DOS by means of a dual-boot configuration.
STATUSMicrosoft has confirmed this to be a bug with Visual C++ 1.5 for Windows. We are researching this bug and will post new information here in the Microsoft Knowledge Base as soon as it becomes available.
|
Additional reference words: 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |