delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/21/14:29:09

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
Message-Id: <4.3.1.2.20010321135353.0231bab8@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 21 Mar 2001 13:55:18 -0500
To: Martin Roscher <mroscher AT gmx DOT net>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: cygwin.dll called by msvc.exe? (help wanted)
In-Reply-To: <4.3.2.7.2.20010321191202.00baa320@pop.gmx.net>
Mime-Version: 1.0

At 01:15 PM 3/21/2001, Martin Roscher wrote:
>I created a simple dll and executable with cygwin and it worked fine. Now I want to call the dll with an executable generated by MSVC. I did so, but first I got some warnings when linking and finally when calling the exe I get a segmentation fault.
>Does calling a cygwin.dll with a msvc.exe principially work?


No, Cygwin has its own CRT for starters, and MSVC and it won't play well 
together.


>Can someone provide me simple sample including the steps to generate a msvc-callable cygwin-dll?


I expect my answer to your first question makes the answer to this one 
obvious.



Larry


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