X-Recipient: archive-cygwin@delorie.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:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=thYFzZD9KfdZ8qZUiEtkafQkY8HpMojrq/u/fLOCd06
	v8GTA66rChsmPetCnp7kDX25Uqd9Ti72yLfxgD26gJJIwCeT6obnR34WSKCtaPN6
	1oKrzRGkprwcqXVLcF7RDQ/jp8xwcL8/66MhkYf2yikziuA5wV47O8yezgqgWbj0
	=
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:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 s=default; bh=Ypa4uT3qc2g24E8kGcIvXuqdJJc=; b=EJ3fY8Ow1ssO1fvMi
	avAjGG5yfD4PFLmBgddDdo28clcfh8FpvyZPDqkM6yNgUaJndPnn/tF+3Lcg6cZ4
	Vg2ffWVvzPoaW2t1EcmuSaWehPKlS7EMc9KE2+8O/iM9Az9pIjIUsCvI5fl8zwhx
	qGDbBrtGshK2sb1Q2b3sbGEDqw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_40,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=azatyan, sk:anushav, Azatyan, anushavan.azatyan@desy.de
X-HELO: mail-oi0-f50.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to:content-transfer-encoding;        bh=gi/+g/X5TM3udha/yxlPeUTnW9tUT6J5IdrSbF0urec=;        b=DGD119NHsfSmstQlbDFiBCVfbKDriZsXK15+m9VNrUex9JeWGcoJIyVRVzv7oMrxvC         GqCWYQbEmUIR9sQDlUWM6Fkxkshakv7+tWfkaPtLnhlOr0cYz6WBEug5IUmAZIGbXUJc         t7K/5H34Cf7MSf6UJ+yrm8PpgvwatxO0P+8Re6jKwtYdZkkHua5slNNyHzI6YXmZKTvj         a5SlLbKYcw10Slklf0dJjqKc+PRKEYMgOyU0os1gmRsn1WocNPCwKoG7dkZ0OGDBIPNJ         v1x0GxTQ8eXGGA5Ph7VX/R2dbuNe5FcrcUKZ/X4AHTleGRfwmOTnOlyQeJUM1ZD0HZmx         UF/g==
X-Gm-Message-State: ALyK8tI5KYQgCwhW2qBC8NDce39jjHpiFyDlnicAC0x0F2A+IWUQZLN+OAywQVRyaea2ELfEM6zVL69ecZJADA==
X-Received: by 10.157.40.2 with SMTP id m2mr1898705otb.99.1466761522356; Fri, 24 Jun 2016 02:45:22 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <2049626554.59435743.1466755068540.JavaMail.zimbra@desy.de>
References: <2049626554.59435743.1466755068540.JavaMail.zimbra@desy.de>
From: Xi Shen <davidshen84@gmail.com>
Date: Fri, 24 Jun 2016 17:44:53 +0800
Message-ID: <CANO68EPbzx7Fg2H0rP9seEeFkQwByqOf6AqJAEhj0CqWirGq1w@mail.gmail.com>
Subject: Re: Call functions from Cygwin compiled dll.
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5O9jjC9007012

If you build your DLL in Cygwin environment, chances are you DLL
depends on mingw32 DLLs...so you have to build your VS project with
all the mingw32 dependencies.

Xi Shen
about.me/davidshen


On Fri, Jun 24, 2016 at 3:57 PM, Azatyan, Anushavan
<anushavan.azatyan@desy.de> wrote:
> Hi,
> I have build in cygwin environment my own dll which calls standard unix like functions
> (fopen, fclose, fread …). And now I would like to attach that dll to my program which is
> developed in Visual Studio environment and call some of my function from that dll.
> Or I would like to call functions from my dll in Matlab mex or in LabView vi.
>
> All my attempts up till now were unsuccessfull. Is there a way to do it ?
>
> Regards, Anushavan.
>
> --
> 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
>

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


