MSVC在编译C/C++程序的时候,默认采用__cdecl调用约定来编译。__stdcall是Win32 API函数的默认调用规约。
Calling Convention | Internal* | MSVC DLL (w/ DEF) | MSVC DLL (dllexport) | DMC DLL | MinGW DLL | BCC DLL |
__stdcall | _Function@n | Function | _Function@n | _Function@n | Function@n | Function |
__cdecl | _Function | Function | Function | Function | Function | _Function |
时间: 2024-10-06 21:00:21