Right click on the project and select Add - New Item
Then find the def file
Define the export function in the def file
LIBRARY
EXPORTS
Show @1
In this way, the function name will not change after the DLL is exported, and there is no need to make other settings