Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Authentication-Warning: modi.xraylith.wisc.edu: khan owned process doing -bs Date: Fri, 16 Apr 1999 09:18:38 -0500 (CDT) From: Mumit Khan To: Magnus Bondesson cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: DirectX and COM objects In-Reply-To: <199904160719.JAA16488@muppet67.cs.chalmers.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 16 Apr 1999, Magnus Bondesson wrote: > > One possible solution then would be to create a copy of the MS object > with a layout adapted to gcc. This means rather few changes in the > but not in all. I suspect that there might be more to an object than > is seen in the interface declaration, i e there are more things to > copy. As far as I can remember, MS vtable layout (the particular method of "thunking") is patented. > Questions: > 1) Any help? yes. See next. > 2) Is there or will there be a compiler flag in gcc which brings > about the "correct" code for MS COM objects? Jason Merrill just checked a modified version of COM_INTERFACE patch that Antonio Mendes had first distributed. Looks like we might very well have COM capability in C++ in egcs-1.2. Just don't ask me when 1.2 is going to be released. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com