www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Authentication-Warning: | jean.mailgate.net: jean set sender to jean AT infosat DOT net using -f |
Date: | Wed, 9 Jan 2002 13:38:33 +0200 |
From: | Jean le Roux <jean AT infosat DOT net> |
To: | egor duda <cygwin AT cygwin DOT com> |
Subject: | Re: w32api header problems |
Message-ID: | <20020109133833.A20443@infosat.net> |
References: | <20020109115348 DOT A14411 AT infosat DOT net> <67136319166 DOT 20020109130747 AT logos-m DOT ru> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <67136319166.20020109130747@logos-m.ru>; from deo@logos-m.ru on Wed, Jan 09, 2002 at 01:07:47PM +0300 |
On Wed, Jan 09, 2002 at 01:07:47PM +0300, egor duda wrote: > Hi! > > Wednesday, 09 January, 2002 Jean le Roux jean AT infosat DOT net wrote: > > JlR> I need to include /usr/include/w32api/winbase.h in order to use the > JlR> GetVolumeInformation(...) system call under windows. > > JlR> However, as i metioned in an earlier mail, DWORD seems to not be > JlR> defined. I tracked DWORD's definition down to windef.h.. but it seems > JlR> the whole include chain is a bit funny.. there are lots of > JlR> inter-dependencies which are not satisfied. > > JlR> Does anyone have any words of wisdom to make life a little easier, or > JlR> do I simply have to test for, and include, all the headers in w32api ? > > you ought to > > #include <windows.h> > I've done this but <windows.h> seems to leave my code in a tangle :) I suddenly have parse errors in my own header files, on normal function declerations. I can only deduce that windows.h is leaving an open ifdef or has unterminated strings or something silly. Anybody encounter this before? Any suggestions ? I can put the compiler output online if someone wants to take a look, and ofcourse some code snippets. bye -- Jean le Roux -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |