BUG: Microsoft Windows 98 DDK Problem with Visual C++ 4.2 (259193)



The information in this article applies to:

  • Microsoft Windows 98 Driver Development Kit (DDK)

This article was previously published under Q259193

SYMPTOMS

After you install the Microsoft Windows 98 Device Development Kit (DDK), if you try to open a build environment (on the Start menu, point to Programs, Development Kits, Windows 98 DDK, and then click Build Environment), the following error message is displayed:
Kmsdevdir environment variable not recognized. MSVC 4.2, 5.0 or 6.0 must be installed.

CAUSE

The Vccheck.exe file, which runs as part of the Windows 98 DDK build environment set-up procedure, has a compatibility problem with Visual C++ version 4.2.

RESOLUTION

The following steps will help you work around this problem:
  1. Copy the Vcvars32.bat file from the Visual C++ folder to the \98Ddk\Bin folder.
  2. Edit the \98Ddk\Bin\Bcvars32.bat file by changing all of the paths to short file names.
  3. Edit the \98Ddk\Bin\Setenv.bat file and comment out the first vccheck.
Alternatively, use a more recent version of Visual C++ to avoid this problem.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

See the Install.htm file in the Windows 98 DDK for more information on how to install and use the Windows 98 DDK.

Modification Type:MajorLast Reviewed:5/6/2000
Keywords:kbbug kbDSupport KB259193