Microsoft KB Archive/142890

{|
 * width="100%"|

PRB: RW1012 Error or Crash When Building on Windows NT 3.51

 * }

Q142890

-

The information in this article applies to:


 * Microsoft Visual C++, version 1.52

-

SYMPTOMS
When attempting to build a Windows-based application on Windows NT 3.51, Visual C++ reports one the following problems:


 * RC : fatal error RW1012 : Can't find file RCPP.EXE -or-
 * The MS-DOS Subsystem reports an illegal instruction from ntspawn.exe

This occurs even when Rcpp.exe is in your Msvc\Bin directory, and that directory is included in the PATH environment variable or in the Visual C++ executable files path (accessible by choosing Directories from the Options menu).

CAUSE
This problem occurs because Ansi.sys is included in the Config.nt file on the computer that is running Windows NT.

RESOLUTION
Remove Ansi.sys from your Config.nt file. If you have MS-DOS applications that require Ansi.sys, you could create .pif files (program information files) to run those applications.

In the .pif files, you can specify a custom configuration file that loads Ansi.sys.

For more information on creating .pif files, please see the "Creating Program Information Files" section in Chapter 11 of the System Guide in the Windows NT Books Online.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words:

Keywords : kbtshoot kbide kbVC kbGrpDSTools

Issue type : kbprb

Technology : kbVCsearch kbAudDeveloper kbVC152