delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/12/12:39: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: <cygwin AT cygwin DOT com>
Subject: Issue calling COM function(s)
Date: Tue, 12 Jun 2001 11:49:33 -0400
Message-ID: <NCBBLNOKDKEGJLPOBEJDMEMKGHAA.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)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

I'm having trouble porting a VC++ based windows project to a GCC based
project.  Don't ask why, it just is.

My issue is one of the first (the first?) COM function I call is
CreateStreamFromHGlobal.  This function seems to work, but I get a segv on
the first method call on the stream (IStream->Stat).  It seems that the
vtable might be wrong.

Is this something basic I'm missing here?  I noticed a current message
referring to the -no-cygwin compile flag and discussion of www.minwg.org.  I
am confused however about the relationship of cygwin to minwg, and how to
move between them.

If I'm trying to do a "real" Windows program, no unix/POSIX stuff needed,
should I be using a different implementation of gcc?

tia,

-pkg

_________________
Paul K Gleske
AIM - pgleske
-----------------
"Make everything as simple as possible - but not simpler"  - A. Einstein


--
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