Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <029801bea2cc$733b0b30$e63d2509@jonpryor.raleigh.ibm.com>
From: "Jonathan Pryor" <jonpryor@vt.edu>
To: "Helge Hess" <hh@mdlink.de>, "Jonathan Pryor" <jonpryor@cowpie.acm.vt.edu>
Cc: "Jan Rouvillain" <jro@cotas.dk>,
        "Cygwin mail list (E-mail)" <cygwin@sourceware.cygnus.com>
Subject: Re: Creating DCOM- or COM components with gwin32?
Date: Thu, 20 May 1999 10:23:41 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3

Yes.  For me, it demonstrated a good reason to wait
for C++ support... :)

"The COM Programmer's Cookbook" provides an overview
of COM, as well as a "tutorial" on how to write COM
objects in ANSI C, comparing it with C++ (which further
demonstrates how much the C++ compiler does for you
in the authoring of COM objects).

It also introduces concepts such as tear-off interfaces
and other "advanced" topics, so it's a good read even
for C++ programmers.

It's at:
http://msdn.microsoft.com/library/techart/msdn_com_co.htm

 - Jon

-----Original Message-----
From: Helge Hess <hh@mdlink.de>
To: Jonathan Pryor <jonpryor>
Cc: Jan Rouvillain <jro@cotas.dk>; Cygwin mail list (E-mail)
<cygwin@sourceware.cygnus.com>
Date: Thursday, May 20, 1999 9:51 AM
Subject: Re: Creating DCOM- or COM components with gwin32?


>Jonathan Pryor wrote:
>>
>> In theory, yes.
>>
>> However, there's one caveat: you can't use C++ at this time.
>> (This is because egcs generates a non-COM-compliant vtable
>> for C++ objects.)
>>
>> Writing (D)COM object in C shouldn't pose any problems
>> (that I know of).
>
>Is there any good tutorial introducing COM in ANSI-C ? The stuff I've
>seen so far was only about COM and C++ ..
>
>Thanks
>  Helge
>--
>MDlink online service center
>http://www.mdlink.de/


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

