How does MFC's wWinMain end up in the executable?
问题 In MFC, wWinMain is defined in appmodul.cpp . This file is built into mfc90ud.dll from what I can see. However, when I run my application, the call stack shows MyApplication.exe!wWinMain . How has it taken the wWinMain function that was exported in appmodul.obj and placed it in my application? 回答1: Right-click your project in the Solution Explorer window, Properties, Linker, Command Line. Type /verbose in the "Additional Options" box. Rebuild your project. The Output window now shows a trace