P-Code Instructions (pcode.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.
MP4004
                                              Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     MPC warning MP4004
 
     far data reference to movable segment: source 'segment:????',
     target 'segment:offset'
 
     The source segment contained a far data reference to the target
     map address, which is in a movable segment. This is illegal when
     creating a real-mode Windows executable file.
 
     These references are dangerous when running Windows in real mode
     because data segments can move, causing the references to be
     invalid.
 
     To find the function that caused this warning, look up the given
     map address in the .MAP file generated from the executable file.
     To generate a .MAP file, use the CL /Fm command-line option or the
     LINK /MAP command-line option.
 
     Relink the executable file using a module-definition (.DEF) file to
     mark the target segment as FIXED or to mark the executable file as
     PROTMODE.