◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── MPC fatal error MP1045 too many globals referenced by p-code function at 'address' The maximum number of unique global variables referenced by a p-code function was exceeded. A maximum of 255 unique global variables can be referenced by a p-code function. To find the function that caused this error, 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. To correct this error, either recompile the routine at the specified map address to native code or split the function into subfunctions that reference fewer global variables.