◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── MPC error MP2081 missing native entry code for function at 'segment:offset' MPC detected a p-code function that was called from native code but does not have a valid native entry-code sequence. 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. This error can be caused by using #pragma native_caller( off ) or the CL /Gn command-line option when defining functions that are exported. Recompile and relink the module that contains the function at the specified map address, making sure that native entry code is generated, then relink the executable file.