This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Creating DCOM- or COM components with gwin32?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]