Issue calling Com function(s)

Paul K Gleske pkg@gleske.org
Wed Jun 13 07:13:00 GMT 2001


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@sources.redhat.com
[ mailto:cygwin-owner@sources.redhat.com]On Behalf Of Corinna Vinschen
Sent: Wednesday, June 13, 2001 4:52 AM
To: cygwin@cygwin.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@cygwin.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



More information about the Cygwin mailing list