delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/13/10:49:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Paul K Gleske" <pkg AT gleske DOT org>
To: "Corinna Vinschen" <cygwin AT cygwin DOT com>
Subject: RE: Issue calling Com function(s)
Date: Wed, 13 Jun 2001 10:14:14 -0400
Message-ID: <NCBBLNOKDKEGJLPOBEJDIENOGHAA.pkg@gleske.org>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20010613105216.C1144@cygbert.vinschen.de>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

Nice try but, there is nothing there about either flag (-fvtable-thunks
or -fnative-struct) in the info gcc supplied with cygwin.  I was able to
find something about -fvtable-thunks on gcc.gnu.org in the manual, but I'm
still not sure what it means.

I notice that the compiled code is different when using those flags.  In
fact the code looks like is more "right" than without the code, but
nonetheless I still get a segv when calling the ImageStream->Stat method.
It appears that the call itself is failing (the call through edi), so it
appears that the vtable is not being handled right.

I'll try to make a tiny app to isolate this one call.  Has anyone else
successfully use CreateStreamFromHGlobal?  Or any other WinAPI call that
returns an interface?

-pkg

-----Original Message-----
From: cygwin-owner AT sources DOT redhat DOT com
[mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Corinna Vinschen
Sent: Wednesday, June 13, 2001 4:52 AM
To: cygwin AT cygwin DOT com
Subject: Re: Issue calling Com function(s)


On Tue, Jun 12, 2001 at 09:57:49PM -0400, Paul K Gleske wrote:
> Thanks for the input.  Where are these options documented.  I've been
> looking for them.

Call `info gcc'.

Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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