From: Alan Bellingham (alan_at_[hidden])
Date: 2002-02-24 08:37:33
Ross Smith <r-smith_at_[hidden]>:
>It occurs to me that, if you're going to write all that code for every
>API function (pair) that you use anyway, it may be simpler just to leave
>the Windows headers out altogether and simply write your own headers
>with just the extern declarations for FooA() and FooW() and your
>overloaded Foo(), losing the macros completely. (Also that it probably
>wouldn't be terribly difficult to automate the header conversion
That _is_ the other possibility, yes.
However, I'm a bit leery of actually doing that, for a few reasons:
2) The possibility of making mistakes.
3) It's difficult to avoid the real headers getting included anyway.
But automating it more is definitely the way forward.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk