I have tried to get myself into the habit of making sure I HAVE to include a thing like windows.h before I do...and if I do I almost always put the WIN32_LEAN_AND_MEAN macro.
Well, I have a WaveClass which is used to load up waves and such with play functions...but mainly I just need to loaded wave to pass into DirectSound Buffers.
The wave class needs GlobalAlloc, and GlobalLock, BYTE, DWORD...etc
I have to include MMSystem.h, and Windows.h. Will this lengthen the size in memory of the wave class?
There is a good chance I could have 100+ of these class's loaded at any time. If those extra includes are goona cause some runtime slowdowns or extra size during runtime then i need to find a way around it.




Reply With Quote