Running Borland BCC.EXE 3.1 Under Windows NT (97801)



The information in this article applies to:

  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Workstation 3.1

This article was previously published under Q97801

SUMMARY

The following procedure may allow you to run Borland BCC.EXE version 3.1 under Windows NT, but it is not guaranteed to work. If you continue to have problems, please contact Borland.

Build and run the following C program:
   #include <stdio.h>

   main()
   {
      FILE* fp = fopen( "D:\\BORLANDC\\BIN\\BCC.EXE", "r+b" );
      if ( fp )
      {
         fseek( fp, 0x10f6L, SEEK_SET );
         fwrite( "\x05", 1, 1, fp );
         fseek( fp, 0L, SEEK_END );
         fclose( fp );
         printf( "zapped it\n" );
      }
      else
         printf( "huh?\n" );
      return 0;
   }
				

Modification Type:MajorLast Reviewed:10/30/2003
Keywords:kb3rdparty KB97801