qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Relinking MASM code
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Relinking MASM code
 
 ■ Sometimes after recompiling an old program with the Visual Basic Compiler,
   an assembly language subprogram will hang when called. If the subprogram
   was working fine previously, the most likely problem is an END (label)
   assembly directive in the MASM file. Such an END label indicates that the
   assembly module is the main module; this usually means that the program
   was not initialized properly.
 
 ■ To eliminate the problem, remove the label and reassemble. If the label
   cannot be removed from the END directive, do not use this program with
   Visual Basic.
 
 ■ Here is an example of the END (label) directive:
 
         code     segment  byte    public  'code'
         .
         .
         temp     proc     far
         .
         .
         temp     endp
 
         code     ends
 
                  end      temp     ; The "temp" label should be removed