X-Recipient: archive-cygwin@delorie.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@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <201102120245.p1C2juUX029959@omx12.ms.so-net.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

