delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/24/05:45:49

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
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 DOT azatyan AT desy DOT 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 DOT 59435743 DOT 1466755068540 DOT JavaMail DOT zimbra AT desy DOT de>
From: Xi Shen <davidshen84 AT gmail DOT 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 AT cygwin DOT com" <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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 DOT azatyan AT desy DOT 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


- Raw text -


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