Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: #define question Date: Fri, 01 Aug 2003 12:58:44 -0700 Lines: 12 Message-ID: References: <3F2A2543 DOT 9060404 AT sanger DOT ac DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (Compact) X-Accept-Language: en-us, en In-Reply-To: <3F2A2543.9060404@sanger.ac.uk> Rob Clack wrote: > [...] either objidl.h isn't > getting included at all, though I get no error there, or the macro isn't > getting #defined, or it's getting undefined somewhere. Are you sure objidl.h isn't included somewhere else above that by some other file, indirectly? Best to put your COBJMACROS #define at the top of your .c file (or pass it in via the "gcc" command line). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/