[Scummvm-cvs-logs] CVS: scummvm/sound fmopl.cpp,1.11,1.12 midiparser.cpp,1.12,1.13 midiparser_smf.cpp,1.13,1.14 midiparser_xmidi.cpp,1.12,1.13 mixer.h,1.20,1.21
Alan De Smet
chaos at highprogrammer.com
Thu Jun 19 08:45:17 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound fmopl.cpp,1.11,1.12 midiparser.cpp,1.12,1.13 midiparser_smf.cpp,1.13,1.14 midiparser_xmidi.cpp,1.12,1.13 mixer.h,1.20,1.21
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sound fmopl.cpp,1.11,1.12 midiparser.cpp,1.12,1.13 midiparser_smf.cpp,1.13,1.14 midiparser_xmidi.cpp,1.12,1.13 mixer.h,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Marcus Comstedt (marcus at mc.pp.se) wrote:
> (Btw, can someone tell me what the name "stdafx" stands for? I
> can't make any sense of the letters...)
Microsoft's MFC (Microsoft Foundation Classes) was originally AFX
(Application Framework X, the first in a long line X named
technologies like Direct X and Active X). Most of the AFX
references disappeared, but a few persisted. The other common
place is that alot of MFC global functions and constants begin
with Afx.
(The above I believe to be true, the following is speculation.)
I presume that the absolutely braindead precompiled header
support originally was added to speed MFC compiles (it not being
uncommon to include 100+ header files for each source file). So
stdafx.h for the standard AFX headers. However, given the
bloated size of the Windows headers, other groups started using
precompiled headers but kept the name. Thus, Visual C++ defaults
to recommending stdafx.h and programs not using any MFC end up
with a cryptic file name.
All that said, you can change the name of the file used for
precompiled headers to something more obvious like
common_headers.h or something. It's been long enough since I've
used Visual C++ that I don't remember where it is, but I know you
can.
--
Alan De Smet http://www.highprogrammer.com/alan
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sound fmopl.cpp,1.11,1.12 midiparser.cpp,1.12,1.13 midiparser_smf.cpp,1.13,1.14 midiparser_xmidi.cpp,1.12,1.13 mixer.h,1.20,1.21
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sound fmopl.cpp,1.11,1.12 midiparser.cpp,1.12,1.13 midiparser_smf.cpp,1.13,1.14 midiparser_xmidi.cpp,1.12,1.13 mixer.h,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list