Macro leakage much? :(
If I want to include the DirectX headers, I'll have to include the Windows headers. That means I'll have to suffer the horrific, endless, macro leakage. Macro leakage makes me cry. At least, I can (try) to forward-declare what I need in my headers, but eventually, I'm gonna have to actually include the full header. Forward-declaring stuff isn't too bad when all you need is HWND, but all those types like LRESULT, WPARAM, LPARAM, HRESULT (most of which resolve to the exact same damn thing and are easily expressed in primitive types, even platform-independently) will be forever to declare.
Of course, Microsoft could have taken the x64 opportunity to make a new Windows header that didn't suck so hard, but I guess that would have broken compatibility.
Maybe I should have a little implementation file that will just forward on.
No comments:
Post a Comment