<<< Missing MSVCR80.DLL or MSVCR80D.DLL | Index | Quick Disassembly Examination of Executable Image >>> |
The function that the program calls from the main program is declared using the extern "C" and __stdcall modifiers:
// The M13_main.cpp file
extern "C" int __stdcall COPYSTR( char*, char* );
The __stdcall calling type assumes that the stack is cleared in the called procedure.
In the Assembly module, the called procedure must be declared using the PUBLIC directive:
; The M13_COPYSTR.ASM file
.586P
.MODEL FLAT, stdcall
PUBLIC COPYSTR
<<< Missing MSVCR80.DLL or MSVCR80D.DLL | Index | Quick Disassembly Examination of Executable Image >>> |