cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/12/04/11:50:59

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <3C0CFED7.4AC9B656@yahoo.com>
Date: Tue, 04 Dec 2001 11:50:31 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: CD List <Cygwin-Developers AT cygwin DOT com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
CC: CD List <Cygwin-Developers AT cygwin DOT com>
Subject: Re: src/winsup/w32api ChangeLog include/commdlg.h ...
References: <20011204152139 DOT T10634 AT cygbert DOT vinschen DOT de>
<20011203195935 DOT 7122 DOT qmail AT sources DOT redhat DOT com>
<20011203233852 DOT C10634 AT cygbert DOT vinschen DOT de>
<3C0C016F DOT 101A8B1C AT yahoo DOT com>
<20011203235735 DOT E10634 AT cygbert DOT vinschen DOT de>
<20011204000806 DOT G10634 AT cygbert DOT vinschen DOT de>
<3C0CD705 DOT 178CB0E2 AT yahoo DOT com>
<085c01c17ccc$7520a1d0$0200a8c0 AT lifelesswks>
<3C0CD894 DOT EBF23D3E AT yahoo DOT com>
<20011204152139 DOT T10634 AT cygbert DOT vinschen DOT de>
<4 DOT 3 DOT 1 DOT 2 DOT 20011204110244 DOT 022c1ca8 AT pop DOT ma DOT ultranet DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20011204113050 DOT 022a76d0 AT pop DOT ma DOT ultranet DOT com>

"Larry Hall (RFK Partners, Inc)" wrote:
> 
> At 11:24 AM 12/4/2001, Earnie Boyd wrote:
> >"Larry Hall (RFK Partners, Inc)" wrote:
> > >
> > > At 10:51 AM 12/4/2001, Christopher Faylor wrote:
> > > >On Tue, Dec 04, 2001 at 03:21:39PM +0100, Corinna Vinschen wrote:
> > > > >On Tue, Dec 04, 2001 at 09:07:16AM -0500, Earnie Boyd wrote:
> > > > >> I was coming to that conclusion.
> > > > >>
> > > > >> Thanks,
> > > > >> Earnie.
> > > > >>
> > > > >> Robert Collins wrote:
> > > > >> >
> > > > >> > I believe that IDC_STATIC is _meant_ to be defined by the application -
> > > > >> > see the second hit on that Google list for example.
> > > > >> > ==
> > > > >> > #ifdef IDC_STATIC
> > > > >> > #undef IDC_STATIC
> > > > >> > #endif
> > > > >> > #define IDC_STATIC      (-1)
> > > > >> > ==
> > > > >
> > > > >And FWIW, a global grep in the Platform SDK include dir doesn't show
> > > > >any match for IDC_STATIC.
> > > >
> > > >I find it defined in winuser.h in the header files that come with MSVC 6.
> > >
> > > Boy is my face red!  Chris, of course, is right.  I find IDC_STATIC
> > > defined in multiple MSVC include files including AFXRES.H and WINRES.H.
> > > While it is defined in the project specific resource.h files as needed,
> > > there must also be references to it at the system level that make it
> > > at least convenient to define it at the system level as well.
> > >
> > > So it looks like is valid to define IDC_STATIC at the system level...
> > >
> >
> >Can you find an msdn document that says it belongs here or there?
> 
> You're joking, right? ;-)
> 

No, I wasn't joking.  Not finding the documentation means it's not
defined.

> Well, I did the same search you probably did (just for the "fun" of it).
> I don't think this is one of those things were it's "defined".  Given the
> fact that it shows up in a handful of files, it seems pretty clear to me
> that it's defined where someone decided it was needed.  So, if you're
> concerned that it should only be included at the system level if it's
> "standard" to do so, I would suggest that it not be included unless the
> need arises (comparable to the MS approach).
> 

All of the examples I looked at were pieces of source that used it, some
defined it.  I found nothing authoritative that told me it was defined
in a system supplied header.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019