delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/16/09:20:47

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 <khan AT xraylith DOT wisc DOT edu>
To: Magnus Bondesson <bond AT cs DOT chalmers DOT se>
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: <Pine.SUN.3.93.990416091646.5315B-100000@modi.xraylith.wisc.edu>
MIME-Version: 1.0

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

- Raw text -


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