delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/11/03:58:24

From: benny AT crocodial DOT de (Benjamin Riefenstahl)
Subject: Re: Windows 98
11 Jul 1998 03:58:24 -0700 :
Message-ID: <35A63638.B98B53A3.cygnus.gnu-win32@crocodial.de>
References: <01f501bdab5c$bca7b3d0$3502280a AT vhasecure DOT net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Fred,


Fred Reimer wrote:
> My main problem now is that I'm using the link-compatible egcs with the
> Platform SDK from Microsoft and I don't think egcs like's the "interface"
> stuff for COM and DirectX.  "Normal" programs seem to compile fine though.
> ...
> Anyone have any clues for the "interface" problem?

Not sure what you're problems actually are.


For background:

C++-style COM objects don't work with g++ currently AFAIK. To do that,
g++ would need to change it's internal object layout to be
COM-compatible. I once looked into the code that g++ generates for
objects, and it looks like adaptation of the g++ object layout to COM
should be possible as a variation of the vtable-thunks configuration.

C-style COM objects are very clumsy to use, but they actually should
work. They possibly need a bit of work in the headers in basic macros.
Haven't tried it, but there is no reason why this should not be
possible.


so long, benny
======================================
Benjamin Riefenstahl (benny AT crocodial DOT de)
Crocodial Communications EntwicklungsGmbH
Ruhrstraße 61, D-22761 Hamburg, Germany
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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