DirectX and COM objects

Mumit Khan khan@xraylith.wisc.edu
Fri Apr 30 18:32:00 GMT 1999


On 1999年4月16日, 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@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /