Why does GetModuleInfo fail to produce an entry point for executables?

4 · Raymond Chen · Oct. 14, 2021, 2:02 p.m.
A customer wanted to find the entry point for some executables. They tried this two-step plan: Load the executable via LoadLibrary. Like, a real LoadLibrary, none of this “as datafile” stuff. Call Get­Module­Information and look at the MODULE­INFO.Entry­Point The customer found that the result is always NULL. The post Why does GetModuleInfo fail to produce an entry point for executables? appeared first on The Old New Thing....