Originally Posted by
Paul McKenzie
To make the point more clear, create an EXE file, and drag it into Dependency Walker.
OK. I knew you'd ask it. So here you go. Two projects:
1. TestConsoleSize.exe
No MFC
Release Build (with MS VS 2010)
Use standard Windows Libraries
Size: 6.50 KB
Code:
_tprintf(_T("Hello World!\n"));
getchar();
2. TestConsoleSizeWithMFC.exe
Same thing but With MFC
Release Build (with MS VS 2010)
Use MFC in a Static Library
Size: 1.54 MB
Code:
CString s;
s.Format(_T("Hello World!\n"));
_tprintf(s);
getchar();