I have MS_VC 6 with the PSDK and winnt.h and ntstatus.h throw warnings alot because of status codes being already defined. Please try to use one or the other.
Thanks Steven
--- "Dimitrie O. Paun" dimi@intelliware.ca wrote:
On Mon, 15 Sep 2003, Rolf Kalbermatter wrote:
Why is it that I can just remove the #include <ntstatus.h> and everything compiles fine both under wine as well as MSVC? <winnt.h> seems not necessary at all because some other header seems to include it, possibly unintentionally.
I know some of the STATUS_* constants are defined in winnt.h as well, but I don't have the native headers, and I can't say what is duplicated.
Anyway, if you can get rid of ntstatus.h then get rid of it, and we need to fix our headers accordingly.
-- Dimi.
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com