I built one project from GitHub. The project was built successfully, but I can't find the entry-point function in its code. The project settings are like this:
How do I find out the entry-point function in a C DLL project?
CodePudding user response:
Per /ENTRY (Entry-Point Symbol):
By default, the starting address is a function name from the C run-time library. The linker selects it according to the attributes of the program...
Unless specified differently, the entry point for a DLL in a MSVC project is _DllMainCRTStartup()
, which calls DllMain()
in the project's code, if it exists.
See DLLs and Visual C run-time library behavior on MSDN for more details.