delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/29/20:41:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040129203456.038d5ff0@127.0.0.1>
X-Sender:
Date: Thu, 29 Jan 2004 20:40:06 -0500
To: cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: C COM objects?
In-Reply-To: <Pine.GSO.4.58.0401291731420.11773@eos>
References: <Pine DOT GSO DOT 4 DOT 58 DOT 0401291731420 DOT 11773 AT eos>
Mime-Version: 1.0

At 06:43 PM 1/29/2004, Brian Ford you wrote:
>I admit to know almost nothing about COM objects, but I have been tasked
>to find out if they can be built from code that uses cygwin1.dll services.
>
>Searching for Cygwin and COM on the web, and in the archives, is difficult
>for the obvious .com reason.
>
>What I think I do know is that C++ COM objects are probably out because of
>name mangling and vtable issues.  I am still unclear about whether the
>libs that implement COM use msvcrt*.dll.  I assume if that is true, then
>all COM objects are out because of the newlib conflict.
>
>Any pointers to C COM object examples or information about using Cygwin
>based code in them would be *greatly* appreciated.  If you feel this
>subject is too far OT, then please feel free to ignore my Reply-To header
>and send me personal email.  Thanks.


COM doesn't require MSVCRT, though it doesn't preclude it either.  So,
depending on what you're doing and what you're using in COM-land, it's 
possible to dodge the MSVCRT bullet.

COM is language independent, which means it's possible to use COM
objects from C code.  I've never done this though.  I remember some
rumblings about people successfully "working with COM" under Cygwin
but it was long ago and I don't remember any details.

Sorry.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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