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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.