dll and exe

  • exe files are not DLLs unfortunately, they are different things. In C/C++ coding DLL files lack the main() function
  • DLLs have DllMain which handles the process and thread attachment and detachment events. If you compile to an EXE you won't be able to hook into those.

DLL有DllMain,可以hook;
DLL的源代码没有main(),无法执行。

posted @ 2021-08-04 14:17  千心  阅读(32)  评论(0编辑  收藏  举报