delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/11/21:58:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Fri, 11 Feb 2011 21:58:13 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: I want to use DLL compiled with Cygwin with VC(VS2008).
Message-ID: <20110212025813.GA20293@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <201102120245 DOT p1C2juUX029959 AT omx12 DOT ms DOT so-net DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <201102120245.p1C2juUX029959@omx12.ms.so-net.ne.jp>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Sat, Feb 12, 2011 at 11:46:47AM +0900, Hosoi wrote:
>It wants to compile DLL of a certain open source with Cygwin and to use
>it with VC.  Because the compilation doesn't pass, it should be Cygwin
>in MSYS.
>
>However, when the one that test DLL was compiled with Cygwin is used
>with VC, it freezes it with LoadLibrary.
>
>Please teach the method of using DLL compiled with Cygwin in
>VC(VS2008).

You really can't use Cygwin via LoadLibrary without quite a bit of
extra work.

However: http://www.cygwin.com/faq/faq.programming.html#faq.programming.msvs-mingw

cgf

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

- Raw text -


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