Microsoft Utilities Errors Help (utilerr.hlp) (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.
L2052
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     LINK error L2052
 
     'symbol' : unresolved external; possible calling convention mismatch
 
     A symbol was declared to be external in one or more modules, but
     LINK could not find it publicly defined in any module or library.
 
     The name of the unresolved external symbol is given, then a list
     of object modules that contain references to this symbol. The
     error message and the list are written to the map file, if one
     exists.
 
     This error occurs in a C-language program when a prototype for an
     externally defined function is omitted and the program is compiled
     with CL's /Gr option. The calling convention for _fastcall does
     not match the assumptions that are made when a prototype is not
     included for an external function.
 
     Either include a prototype for the function, or compile without
     the /Gr option.
                                    -♦-