Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-25 06:21:14


From: "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
> process.)

No, unfortunately this doesn't work. You need the types as well, like
CRITICAL_SECTION.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk