Problem description: Functions without parameters can be called through C#, and functions with parameters report an error: EntryPointNotFoundException; in addition, all exported functions can be viewed by using depends.
Solution to this problem: Step 1: Add a module definition file (.def) in C++, and write the function to be exported in it.
LIBRARY
EXPROTS
function name 1 @ 1
function name 2 @ 2
j
This file will be added to the project->linker->input->module definition file by default; after that, recompile
problem solved