X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=UUH34AagROnKAiTwSUVJyWw6P+fCH j09Jp05NNFTZTQ02wY5ORGWP4w6VeMVYPxa5vLctVPXmKaGwVaeejo7d7g24TjIh HkfhtKK/J94z+iyImu0fJuui6iAjFSLUODU81rB42EaCVsT8m6osKX2gWY0mSzcQ eHh6K3hl4lkR6E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=0BAlLVu1PYFbP/WddvodCGla5yU=; b=YrN XyumvnuaIMh/90+J71GBCQILBEdFhuEhqZtX6OI7MMLbu+l80sEhh05DMaZFvZZx owj1fVWz/IpvO+lr+nC+ctxuJ2RBpiKrDoF9LPZitzootUnGi4u9Q49CwJVRGga9 SoRCmLiK8lhf5OjzEN2yA7dCmJXHB6VbcKziDAI0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ie0-f176.google.com MIME-Version: 1.0 X-Received: by 10.50.253.193 with SMTP id ac1mr14142770igd.49.1410687618789; Sun, 14 Sep 2014 02:40:18 -0700 (PDT) Date: Sun, 14 Sep 2014 12:40:18 +0300 Message-ID: Subject: Re: Using DLL compiled with Cygwin inside Visual Studio 2010 From: =?UTF-8?B?15DXmdem15nXpyDXkden?= To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 >>I've read already tremendous amount of articles, tutorials, and >>instructions about how to solve my problem - but still - no gain. I >>just can't put it into work. >>My goal is pretty simple: I want to compile a DLL file using Cygwin >>gcc tool, and then use it within MSVC2010. >see https://cygwin.com/faq.html#faq.programming.msvcrt-and-cygwin Ok, so I guess my problem is linking against cygwin1.dll *and* msvcrt.dll together. right? A. How do I solve that? I assume I should link only against cygwin1.dll, since I need it for my dll, right? But how do I prevent Visual Studio to link against msvcrt.dll as well? B. **OFF-TOPIC**: How can I reply to a specific message in the mailing list? I'm pretty sure that just mention the same title won't be enough. even tho that what I'm trying to do right now... I'm not subscribed to the list, so I can't just hit the "Reply" in my mail (http gmail). I've tried to look everywhere, got even for several mailing-list FAQ's (non-cygwin related), but found nothing. -- 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