Microsoft KB Archive/39261

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Don't Mix .OBJ or .EXE Modules Compiled in Different Versions

Article ID: 39261

Article Last Modified on 11/21/2006



APPLIES TO

  • Microsoft QuickBasic 1.02
  • Microsoft QuickBasic 2.01
  • Microsoft QuickBasic 4.0
  • Microsoft QuickBASIC 4.0b
  • Microsoft QuickBasic 4.5 for MS-DOS
  • Microsoft BASIC Compiler 6.0
  • Microsoft BASIC Compiler 6.0b
  • Microsoft BASIC Professional Development System 7.0
  • Microsoft BASIC Professional Development System 7.1



This article was previously published under Q39261

SUMMARY

When you are compiling a series of Basic programs, Microsoft recommends compiling all associated routines with the same version number of the compiler. When the compiler is updated (such as from version 4.00 to version 4.00b, or version 4.00b to version 4.50), it is best to re-compile each routine with the new compiler and link with the new run-time module libraries. Both code generated by the compiler and the Basic run-time modules may change between versions.

This information applies to QuickBasic versions 1.00, 1.02, 2.00, 2.01, 3.00, 4.00, 4.00b, and 4.50; Microsoft Basic Compiler versions 5.35 and 5.36 for MS-DOS; Microsoft Basic Compiler 6.00 and 6.00b for MS-DOS and MS OS/2; and Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2.


Additional query words: QuickBas BasicCom

Keywords: KB39261