.
- . (ABI), , . , , , dll . WIN32 API __stdcall, C __cdecl.
Another problem is name manipulation. Since function arguments are part of the function signature in C ++ (to ensure function overloading), this information is included in the character table of your object code. Usually it will be a whole bunch of extra strange characters. C does not require name processing because it does not allow function overloading.
Sometimes in C ++, you want to call C functions (i.e., C function symbols compiled by C, not the C ++ compiler). In this case, you need to define the function in the block extern "C" {}.
Hope this helps you
doron source
share